-2

I have downloaded and installed PHP 5.4.3 via source. I used the following command line:

./configure --with-apxs2 --with-pgsql

I have apache 2.2.3 installed, as per:

[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]# 

But I get the following error when trying to start my server:

Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: undefined symbol: zend_parse_parameters [FAILED]

4

1 回答 1

0

你在configure之后在php-source目录下执行make和make install了吗?必须这样做才能为 apache 安装模块。

于 2012-05-19T06:26:43.473 回答