linux下安装php-5.2.0的配置命令输入的是
configure --prefix=/usr/local/php \
--with-apxs2=/etc/httpd/bin/apxs --with-gd \
--with-jpeg-dir --with-ttf --with-zlib-dir --with-png-dir \
--with-mysql --enable-track-vars
执行完之后出现
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
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 infor
mation.
可是我装了mysql阿,而且也能运行
想问问大家怎样才能让Mysql配置成功?