Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module
进到php安装目录
[root@localhost ~]#cd /usr/local/src/php-5.3.27
[root@localhost php-5.3.27]# cd /ext/curl
[root@localhost curl]# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
上面 错误提示的解决方法:
#yum install m4
# yum install autoconf
[root@localhost curl]# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
phpize提示找不到,其实命令在/usr/local/php/bin/目标下,这个目录下执行也可以,没有试过。
OK!!
进到php安装目录
[root@localhost ~]#cd /usr/local/src/php-5.3.27
[root@localhost php-5.3.27]# cd /ext/curl
[root@localhost curl]# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
上面 错误提示的解决方法:
#yum install m4
# yum install autoconf
[root@localhost curl]# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
phpize提示找不到,其实命令在/usr/local/php/bin/目标下,这个目录下执行也可以,没有试过。
OK!!
编辑回复