安装pcntl以实现php多进程
时间:2014-08-27 20:20:18
收藏:0
阅读:271
pcntl 扩展包一般就在php源码的ext目录下.
cd ./ext/pcntl /opt/server/php5/bin/phpize ./configure --with-php-config=/opt/server/php5/bin/php-config
make && make install
编辑php.ini文件,以配置这个扩展
extension_dir=/opt/server/php5/lib/php/extensions/no-debug-non-zts-20121212/
extension=pcntl.so
原文:http://www.cnblogs.com/yjken/p/3940091.html
评论(0)