apache+php+mysql时出现的问题,mysql安装没问题,apache也没问题,装了php后,apache出现问题如下。
安装PHP其实也没问题,只是安装php后,httpd启动不了。说明(linux是opensuse的openSUSE-11.4-DVD-i586.iso,apache是ht...
安装PHP其实也没问题,只是安装php后,httpd启动不了。说明(linux是opensuse的openSUSE-11.4-DVD-i586.iso,apache是httpd-2.4.2.tar.gz ,php是php-5.1.6.tar.bz2,mysql是 5.1.53版本)下面是启动httpd出现的错误,麻烦高手告知原因。谢谢。
httpd: Syntax error on line 144 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: ap_get_server_version 展开
httpd: Syntax error on line 144 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: ap_get_server_version 展开
1个回答
展开全部
检测一下端口是否被占用了。
追问
80端口根本没有被占用,如图。我启动httpd服务就是报错:linux-vfcx:~ # service httpd restart
httpd: Syntax error on line 144 of /usr/local/apache/conf/httpd.conf: Cannot loa
d /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/li
bphp5.so: undefined symbol: ap_get_server_version
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询