PHP-WordPress所需的MySQL扩展

时间:2018-11-30 07:40:01

标签: php mysql wordpress

我的wordpress主页还可以,但是当我访问wp-admin时,它返回mysql扩展错误。我在没有终端访问权限的共享主机上使用PHP 5.6。我已经将cpanel中的PHP版本更改为PHP 5.6

php.ini文件

; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> 
Software >> MultiPHP INI Editor)
; For more information, read our documentation 
(https://go.cpanel.net/EA4ModifyINI)

allow_url_fopen = On
allow_url_include = Off
asp_tags = Off
display_errors = On
enable_dl = On
file_uploads = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 256M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php56"
upload_max_filesize = 64M
zlib.output_compression = Off

extension=mysql.so
extension=mysqli.so
extension=pdo_mysql.so

php信息输出: Here is my php info

错误: enter image description here

0 个答案:

没有答案