编译php错误代码configure: error: Try adding --with-zlib-dir=. Please check config.log for more information.
2007-12-08 21:30
721 查看
安装php执行./configure --prefix=/home/php --with-mysql=/home/mysql --with-apxs2=
/home/httpd/bin/apxs命令
出现错误configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
决绝原因:不要设置php安装目录,输入命令:
./configure --prefix=--with-mysql=/home/mysql --with-apxs2=/home/httpd/bin/apxs
OK------- Thank you for using PHP.
/home/httpd/bin/apxs命令
出现错误configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
决绝原因:不要设置php安装目录,输入命令:
./configure --prefix=--with-mysql=/home/mysql --with-apxs2=/home/httpd/bin/apxs
OK------- Thank you for using PHP.
相关文章推荐
- PHP: configure: error: mysql configure failed. Please check config.log for more information.
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- configure: error: mysql configure failed. Please check config.log for more information.
- 编译PHP5.6 提示configure: error: GD build test failed. Please check the config.log for details.
- configure: error: mysql configure failed. Please check config.log for more information.
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- 编译安装php-5.6.19出现的问题configure: error: mysql configure failed. Please check config.log
- 编译安装PHP出现configure: error: mysql configure failed. Please check config.log的解决方法
- 编译安装PHP出现configure: error: MySQL configure failed. Please check config.log的解决方法
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: wrong mysql library version or lib not found. Check config.log for more informatio
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: GD build test failed. Please check the config.log for details.
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- configure: error:" wrong mysql library version or lib not found. Check config.log for more informati
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- MS SQL错误:SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems
- configure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决