下载的php5.0.1
configure用了以下命令:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/lib --with-apxs2=/usr/local/apache/bin/apxs --enable-trace-vars --with-mysql=/var/lib/mysql --with-mysql-sock=/var/lib/mysql
可是报以下错误:
.......
checking for specified location of the MySQL UNIX socket... /var/lib/mysql
checking for MySQL UNIX socket location... /var/lib/mysql
configure: error: Cannot find MySQL header files under /var/lib/mysql.
Note that the MySQL client library is not bundled anymore.