安装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.