太阳花工作室
源码安装php , ./configure无法通过:报错Note that the MySQL client library is not bundled anymore!
post by:sunshine 2013-6-8 17:52

mysql安装地址

 [root@localhost php-5.4.14]# whereis mysql mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

 

 找不到mysql的安装路径的话可以。尝试一下方案。

 

可以试试  mysqlnd     php5.4貌似是支持的


 ./configure --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd 你的参数

--------------------------------我的方案-----------------------------------

./configure -prefix=/home/artuion/php --with-config-file-path=/home/artuion/php/etc --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-fastcgi --enable-fpm