错误与PHP5 Apache2.2.15配置 [英] Error for Apache2.2.15 configuration with PHP5
问题描述
我想配置的的Apache 2.2.15 在我的Linux系统的 PHP5 。我已经安装了他们两个。但是,当我加的 libphp5.so 模块中的httpd.conf
的Apache,它给了以下错误而启动服务器:
I am trying to configure apache 2.2.15 with php5 in my linux system. I have installed both of them. But when I added libphp5.so module in httpd.conf
of apache, it has given the following error while starting the server:
开始的httpd:httpd的:/etc/httpd/conf/httpd.conf中上线202语法错误:无法加载到/etc/httpd/modules/libphp5.so服务器:/etc/httpd/modules/libphp5.so :未定义的符号:ap_unixd_config
Starting httpd: httpd: Syntax error on line 202 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: undefined symbol: ap_unixd_config
谁能告诉我如何解决这个问题,因为我通过在google,但妄图每一个可能的解决方案?
Can anybody tell me how to fix this, as I tried every possible solution by googling it but in vain?
推荐答案
这也发生在Arch Linux的,当一个不升级的Apache 2.2到Apache 2.4。所以,如果你正在使用的Arch Linux,你需要降级 PHP的Apache
包适合您的版本。 PHP的Apache-5.5.8-1
还行,而 5.5.11-1
不是。
This also happens on Arch Linux when one doesn't upgrade Apache 2.2 to Apache 2.4. So if you are using Arch Linux you need to downgrade php-apache
package to the version that works for you. php-apache-5.5.8-1
is still OK, whereas 5.5.11-1
is not.
这篇关于错误与PHP5 Apache2.2.15配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!