标签:io for ar linux log sql 安装 mysql
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
--------------------------------------------------------------
解决方案:下载zlib 安装解压缩zlib 然后在后面的参数加上 --with-zlib
./configure --prefix=/usr/local/php --with-mysql=/var/lib/mysql --with-libxml-dir=/usr/local/libxml2 --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
configure: error: mysql configure failed. Please check config.log for more information.
----------------------------------------------------------------------
解决方案:--with-mysql-dir 加了一个dir
./configure --prefix=/usr/local/php --with-mysql-dir=/var/lib/mysql --with-libxml-dir=/usr/local/libxml2 --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
又出现这个错误
Notice: Following unknown configure options were used:
--with-mysql-dir=/var/lib/mysql
linux安装php出现的各种错误解决方案,布布扣,bubuko.com
标签:io for ar linux log sql 安装 mysql
原文地址:http://www.cnblogs.com/bluewelkin/p/3893290.html