I have PHP installed and running (version: 5.3.17) and I want to switch to mysqlnd (in the phpinfo mysqlnd does not exist at all).
I read that in order to set it, you need to update the ./configure command:
./configure --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd When I tried installing it with yum install php-mysqlnd I get an error:
---> 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 ResolutionError: php-mysql conflicts with php-mysqlndSolution:
The ./configure command is part of the compilation process from source code, so these are the steps to take:
yum erase php-mysqlyum install php-mysqlndThen it can be check with:
php -m | grep mysqlndThank you Sebastian Kessler!
聯(lián)系客服