Removed ext-pcntl dependency