如何为php启用mysqlnd?
我已经安装并运行了PHP(版本:5.3.17),我想切换到mysqlnd(在phpinfo中mysqlnd根本不存在)。
我读到为了设置它,你需要更新命令:./configure
./configure --with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
当我尝试安装它时,我收到一个错误:yum install php-mysqlnd
---> Package php-mysqlnd.x86_64 0:5.3.17-1.26.amzn1 will be installed
--> Processing Conflict: php-mysql-5.3.17-1.26.amzn1.x86_64 conflicts php-mysqlnd
--> Finished Dependency Resolution
Error: php-mysql conflicts with php-mysqlnd