LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 669|回复: 0

php安装问题

[复制链接]
发表于 2005-5-13 17:20:05 | 显示全部楼层 |阅读模式
我分别用了以下参数测试
# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr/lib

# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir=/usr/lib

# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr

# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir=/usr

结果都一样
Configuring extensions
checking for OpenSSL support... no
checking for Kerberos support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... /usr(或是/usr/lib)
configure: error: Cannot find libz

我确认了/usr/lib目录下有个lib.so.1连接到lib.so.1.2.2
php版本是4.3.11  :help
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表