2.编译生成扩展 进入php源程序目录中的ext目录中,这里存放着各个扩展模块的源代码,选择你需要的模块,比如curl模块:cd curl执行phpize生成编译文件,phpize在PHP安装目录的bin目录下/usr/local/php5/bin/phpize运行时,可能会报错:Cannot Find autoconf. PlEase check your autoconf installation and the $PHP_AUTOCONFenvironment variable is set correctly and then rerun this Script.,需要安装autoconf:yum install autoconf(redhat或者CentOS)、apt-get install autoconf(Ubuntu Linux)生成配置文件,并编译生成模块:














发表评论