drbz99867 2016-01-26 14:12
浏览 356
已采纳

PHP 5.3.3 - 没有加载Mysql扩展

I keep getting the message "Your PHP installation appears to be missing the MySQL extension which is required by WordPress".

I installed httpd, php (5.3.3), php-mysql, mysql (5.1.73), mysql-server via yum install on RHEL6.

I tried uncommenting extension=mysql.so and restarting httpd, but that didn't do the trick.

On other nodes I don't have any issues after the same way of installing.

I see that the extensions are not loaded:

Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => zlib [7] => bz2 [8] => calendar [9] => ctype [10] => hash [11] => filter [12] => ftp [13] => gettext [14] => gmp [15] => SPL [16] => iconv [17] => Reflection [18] => session [19] => standard [20] => shmop [21] => SimpleXML [22] => sockets [23] => exif [24] => tokenizer [25] => xml [26] => apache2handler )

Anyone an idea why the extensions are not loaded/loading?

  • 写回答

1条回答 默认 最新

  • duanniying2342 2016-02-02 10:03
    关注

    Fixed by installing php v5.6, see the link below: https://webtatic.com/packages/php56/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 【急】在线问答CNC雕刻机的电子电路与编程
  • ¥60 在mc68335芯片上移植ucos ii 的成功工程文件
  • ¥15 笔记本外接显示器正常,但是笔记本屏幕黑屏
  • ¥15 Python pandas
  • ¥15 蓝牙硬件,可以用哪几种方法控制手机点击和滑动
  • ¥15 生物医学数据分析。基础课程就v经常唱课程舅成牛逼
  • ¥15 云环境云开发云函数对接微信商户中的分账功能
  • ¥15 空间转录组CRAD遇到问题
  • ¥20 materialstudio计算氢键脚本问题
  • ¥15 有没有代做有偿主要做数据可视化部分即可(2023全国高考更省一本线理科类)