doushe2513 2014-07-29 21:16
浏览 96

cPanel上的Percona服务器 - 缺少PHP的mysql扩展

I have replaced mysql with percona in a cpanel server, but I am having issue with wordpress and opencart sites which require php-mysql extension. This issue was not there before percona and I am able replicate the problem on another server where I repeated same, replacing usual mysql with percona.

Both times I followed this cpanel documentation

Please somebody help. All my wp and open cart sites are throwing errors. "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

SOLVED I solved this issue. Basically the problem was with default libraries, php-mysql is no more default and it has been replaced with mysqlnd and official site has mentioned a way to compile php in this link. I just referred this and recompiled the php and problem solved.

Thank you friends for trying to solve my problem and in fact due to your suggestions, I could solve this. Thanks a lot, I dont know how to work on this site to thank you.

  • 写回答

1条回答 默认 最新

  • douxiezha9319 2014-07-29 21:20
    关注

    Percona MySQL is a in-place replacement for MySQL. For PHP applications, there is no difference. Check if "php5-mysql" is still installed. (e.g. using Ubuntu: apt-get install php5-mysql)

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据