开发者

Trying to setup a PHP daemon using System_Daemon and I'm having issues getting it to run

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜