在PHP5.2的編譯的過程中,如果遇到
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
那麼,你需要注意了,你可能在編譯APACHE的時候,使用--with-mpm模組,請在編譯MYSQL的時候加上 --enable-thread-safe-client.