打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
mysql
userphoto

2015.09.17

关注

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-mysqlnd

Solution:

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-mysqlnd

Then it can be check with:

php -m | grep mysqlnd

Thank you Sebastian Kessler!

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
CentOS 7源码编译安装最新版php5.6和nginx1.7.9及mysql(搭建lnmp环境) – 飞嗨
LAMP源码编译安装
LNMP环境搭建(linux+Nginx + Mysql + PHP)
線上操作知識庫
对PHP连接MySQL和其他数据库方式的理解
CentOS7源码编译搭建LAMP环境
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服