Maison >développement back-end >tutoriel php >Centos下启动apache出现错误
提示错误:
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)
请问各路大神,这个要怎么解决呀!谢谢
提示错误:
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
包管理的方式来安装,自动加载依赖包