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 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算