zlib

[quote]
安装完php启动apache的时候遇到这样一个错误。
httpd: Syntax error on line 58 of /etc/httpd/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server:
/usr/local/libxml2/lib/libxml2.so.2:
symbol gzopen64,
version ZLIB_1.2.3.3 not defined in file libz.so.1 with link time reference
[/quote]

解决方法:
[list]
[*] echo "/usr/loca/lib" >> /etc/ld.so.conf
[*] ldconfig
[/list]

你可能感兴趣的:(linux,zlib,php,apache)