微笑,关怀。。。

configure: error: Try adding --with-zlib-dir=<DIR>. Please check config

上一篇 / 下一篇  2011-01-25 18:08:21 / 个人分类:linux

在搭建php时,会报configure: error:Tryadding--with-zlib-dir=<DIR>. Please check config错误,解决方案

在配置中加--with-zlib-dir=/usr/lib

配置完整部分如下

./configure --with-mysql=/usr --with-apxs2=/home/tester/apache2/bin/apxs --with-config-file-path=/usr/lib/mysql --with-zlib-dir=/usr/lib


TAG:

 

评分:0

我来说两句

Open Toolbar