php添加扩展插件
给PHP安装扩展的方式有好多 一、重新编译 进入PHP源码目录./configure --prefix=/usr/local/php ...[其他编译参数] 二、通过phpize添加扩展 进入PHP源代码扩展应用目录ext,例如: /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/ 在pcntl目录下执行phpize命令然后在configure,运行结果如下: [root@qzltxx pcntl]# phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 [root@qzltxx pcntl]# ./configure --with-php-config=/usr/local/php/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc.