|
|
安装 MySQL5.0.24 + Apache2 + php5.1.4,先安装的 MySQL,Binary方式,然后是 Apache2,动态链接库方式,最后php5.1.4,使用下面命令:
#./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/Apache2/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php5
在Extension config一部分,检测 MySQL 支持时出现如下错误:
...
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
无法继续。还请高手帮忙讲下原因及解决办法,再次感谢!!! |
|