Centos下启动apache出现错误
程序员文章站
2022-05-11 21:44:19
...
/usr/local/apache2/bin/apachectl restart
提示错误:
httpd: Syntax error on line 58 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /lib64/libz.so.1: version `ZLIB_1.2.3.4' not found (required by /usr/local/libpng/lib/libpng16.so.16)
请问各路大神,这个要怎么解决呀!谢谢
回复内容:
/usr/local/apache2/bin/apachectl restart
提示错误:
httpd: Syntax error on line 58 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /lib64/libz.so.1: version `ZLIB_1.2.3.4' not found (required by /usr/local/libpng/lib/libpng16.so.16)
请问各路大神,这个要怎么解决呀!谢谢
重装apache
会比较快解决,你之前用的是源码编译安装吗?如果是的,可以使用yum install
包管理的方式来安装,自动加载依赖包
推荐阅读
-
centOs下的php+mysql+apache+ftp配置,centosapache_PHP教程
-
centos下yum搭建安装linux+apache+mysql+php环境的方法
-
centos 下安装apache2.4.2+mysql5.5.7+php5.4
-
Linux下MySql出现#1036 – Table ‘ ‘ is read only 错误解决方_MySQL
-
Apache启动提示错误undefined symbol: libiconv_open解决方法
-
CentOS下与Apache连接的PHP多版本共存方案实现详解,_PHP教程
-
CentOS下安装启动MySQL及调用QT
-
Win7系统开机启动蓝屏出现0x00000069错误代码的原因及解决方法
-
Apache启动错误Permission denied: httpd: could not open error log file解决方法
-
CentOS下与Apache连接的PHP多版本共存方案实现详解