rt安装步骤如下:
进入php5.3安装包后输入:
./configure --prefix=/usr/local/php5329 --with-apxs2=/usr/local/httpd2412/bin/apxs --with-mysql=/usr/local/mysql/ --enable-fpm
路径都没有错的,但出现错误:
configure: error:
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| You've configured multiple SAPIs to be build. You can build only |
| one SAPI module and CLI binary at the same time. |
+--------------------------------------------------------------------+然而我上网找到一个方法:http://my.oschina.net/shendingding/blog/73031的“第六步:源码编译安装php-5.3.10”先编译支持apache的,再设置支持nginx的编译参数但到支持nginx这步骤时出错:
sapi/fpm/fpm/fpm_status.o:/root/php-5.3.29/sapi/fpm/fpm/fpm_status.c:97: more undefined references to `sapi_globals' follow
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
究竟应该如何操作?
进入php5.3安装包后输入:
./configure --prefix=/usr/local/php5329 --with-apxs2=/usr/local/httpd2412/bin/apxs --with-mysql=/usr/local/mysql/ --enable-fpm
路径都没有错的,但出现错误:
configure: error:
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| You've configured multiple SAPIs to be build. You can build only |
| one SAPI module and CLI binary at the same time. |
+--------------------------------------------------------------------+然而我上网找到一个方法:http://my.oschina.net/shendingding/blog/73031的“第六步:源码编译安装php-5.3.10”先编译支持apache的,再设置支持nginx的编译参数但到支持nginx这步骤时出错:
sapi/fpm/fpm/fpm_status.o:/root/php-5.3.29/sapi/fpm/fpm/fpm_status.c:97: more undefined references to `sapi_globals' follow
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
究竟应该如何操作?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货