Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error when trying to start a daemon using Ubuntu 10.04 and the PHP5:

PHP Warning: PHP Startup: Unable to load dynamic library 'usr/lib/php5/20060613/' - /usr/lib/php5/20060613/ cannot open shared object file: No such file or directory in Unknown on line 0

Does System_Daemon try to call pcntl? If so, why is it looking for the file where it does not exist?

share|improve this question

System_Daemon uses the pcntl functions, but System_Daemon isn't loading the extension. The extension is defined in your php.ini and is loaded by PHP. Make sure you have compiled PHP with pcntl support (--enable-pcntl), if you are using the Ubuntu packages you might take a look at

The extension directory can also be defined in the php.ini with the extension_dir key, make sure it is pointing to the correct directory. Multiple php.ini files may exists, so take a look and check if your extension configuration matches in each file. A specific PHP CLI configuration named php-cli.ini may exists.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.