在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
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
出现错误: Warning! dlname not found in /usr/local/apache2/modules/libphp5.la. ------------------------ 解决方案: cp /usr/local/apache2/build/libtool /usr/local/php-5.3.28 |
2022-08-17
2022-09-18
2022-08-17
2022-07-29
2022-08-15
请发表评论