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/pcntl.so' - /usr/lib开发者_运维技巧/php5/20060613/pcntl.so: 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?
Yes, System_Daemon
uses the pcntl_fork
function to spawn its child processes. I'd guess you don't have pcntl installed. If you do, you could create a symlink to the pcntl.so
file at that path so PHP can find it.
精彩评论