我已经通过源代码下载并安装了PHP 5.4.3 . 我使用以下命令行:
./configure --with-apxs2 --with-pgsql
我安装了apache 2.2.3,如下:
[root@localhost httpd-2.4.2]# apachectl -v
Server version: Apache/2.2.3
Server built: Apr 4 2010 17:19:54
[root@localhost httpd-2.4.2]#
但是在尝试启动服务器时出现以下错误:
在/etc/httpd/conf/httpd.conf的第206行启动httpd:httpd:语法错误:无法将/usr/lib/httpd/modules/libphp5.so加载到服务器:/ usr / lib / httpd / modules / libphp5 .so:未定义的符号:zend_parse_parameters [FAILED]
1 回答
你在配置完成后在php-source目录中执行make和make install吗?必须这样做才能为apache安装模块 .