源码装配php , ./configure无法通过:报错Note that the MySQL client library is not bundled an
源码安装php , ./configure无法通过:报错Note that the MySQL client library is not bundled an
PHP 5.4 解决方案:
[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
转:http://tst.a9188.com/linux/265.html