PHP7-CentOS:您的PHP安装似乎缺少WordPress所需的MySQL扩展

时间:2018-07-19 21:03:42

标签: php mysql mysqli centos

我将Apache升级到Easy Apache 4,然后切换到PHP 7.0。但是,当从cPanel启用php 7.0时,我的网站向我显示此错误:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

我知道这个错误的含义,但我自己无法解决此问题。尝试了很多事情,例如重新启动Apache,PHP-CGI,MySQL服务器等,但是错误消息继续显示。这是执行rpm -qa |grep php

时的结果
    root@vps125507 [~]# rpm -qa |grep php
cpanel-php56-Horde-Smtp-1.9.3-2.cp1158.noarch
ea-php70-php-common-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Tree-2.0.4-2.cp1158.noarch
ea-php72-php-cli-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Xml-Wbxml-2.0.1-2.cp1158.noarch
ea-php54-php-cli-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-History-2.3.6-1.cp1158.noarch
cpanel-php56-Horde-Itip-2.1.2-1.cp1158.noarch
ea-php56-pear-1.10.1-12.12.8.cpanel.noarch
cpanel-php56-trean-1.1.5-1.cp1158.noarch
ea-php55-php-mysqlnd-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-mbstring-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-sockets-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Turkey-0.1.1-2.cp1158.noarch
ea-php54-php-soap-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-PHPdotNet-0.1.2-2.cp1158.noarch
ea-php56-php-bz2-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Socket-Client-2.1.1-1.cp1158.noarch
cpanel-php56-HTTP-WebDAV-Server-1.0.0RC8-2.cp1158.noarch
cpanel-php56-Horde-Browser-2.0.12-1.cp1158.noarch
cpanel-php56-Horde-Css-Parser-1.0.10-1.cp1158.noarch
ea-php70-php-posix-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Argv-2.0.12-1.cp1158.noarch
ea-php54-php-ftp-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Db-2.3.1-1.cp1158.noarch
cpanel-php56-Horde-Service-Facebook-2.0.5-2.cp1158.noarch
ea-php56-libc-client-2007f-13.13.2.cpanel.x86_64
ea-php54-php-fpm-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Rpc-2.1.7-1.cp1158.noarch
ea-php55-php-curl-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Net-DNS2-1.4.1-2.cp1158.noarch
ea-php55-php-intl-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-gettext-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-EnglandWales-0.1.5-2.cp1158.noarch
ea-php56-php-enchant-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Finland-0.1.2-2.cp1158.noarch
ea-php56-php-calendar-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Net-Sieve-1.3.2-2.cp1158.noarch
cpanel-php56-HTTP-1.4.1-2.cp1158.noarch
cpanel-php56-Horde-Translation-2.2.1-1.cp1158.noarch
cpanel-php56-Horde-LoginTasks-2.0.7-1.cp1158.noarch
ea-php56-php-pdo-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Editor-2.0.4-2.cp1158.noarch
ea-php70-php-cli-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Stream-Wrapper-2.1.3-1.cp1158.noarch
ea-php56-php-posix-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Mime-Viewer-2.1.3-1.cp1158.noarch
ea-php56-runtime-5.6.36-1.1.1.cpanel.x86_64
cpanel-php56-Horde-SessionHandler-2.2.7-1.cp1158.noarch
ea-php70-pear-1.10.1-12.12.8.cpanel.noarch
cpanel-php56-timeobjects-2.1.2-1.cp1158.noarch
ea-php55-php-imap-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-zip-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Imap-Client-2.29.6-2.cp1158.noarch
ea-php54-php-mcrypt-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-imp-6.2.14-2.cp1158.noarch
cpanel-php56-Date-Holidays-Denmark-0.1.3-2.cp1158.noarch
ea-php56-php-zip-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Austria-0.1.5-2.cp1158.noarch
ea-php56-php-iconv-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-File-Find-1.3.2-2.cp1158.noarch
cpanel-php56-ioncube-5.1.2-1.cp1158.x86_64
cpanel-php56-Horde-Vfs-2.3.2-1.cp1158.noarch
ea-php71-php-cli-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Net-IMAP-1.1.2-2.cp1158.noarch
ea-php55-php-posix-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Queue-1.1.3-1.cp1158.noarch
ea-php56-php-devel-5.6.36-2.2.4.cpanel.x86_64
ea-php72-php-fpm-7.2.7-1.1.3.cpanel.x86_64
ea-php54-5.4.45-20.20.1.cpanel.x86_64
cpanel-php56-nag-4.2.9-2.cp1158.noarch
ea-php55-php-soap-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-gd-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-tidy-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Russia-0.1.0-2.cp1158.noarch
ea-php56-php-intl-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Sweden-0.1.3-2.cp1158.noarch
ea-php71-php-pdo-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Auth-SASL-1.0.6-2.cp1158.noarch
cpanel-php56-Cache-1.5.6-2.cp1158.noarch
ea-php70-runtime-7.0.30-1.1.1.cpanel.x86_64
cpanel-php56-Horde-Serialize-2.0.5-1.cp1158.noarch
cpanel-php56-ingo-3.2.10-2.cp1158.noarch
cpanel-php56-Horde-Notification-2.0.4-1.cp1158.noarch
ea-php55-php-pdo-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Text-Flowed-2.0.3-1.cp1158.noarch
ea-php71-php-ftp-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Net-SMTP-1.6.2-2.cp1158.noarch
ea-php70-php-ftp-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-HashTable-1.2.4-1.cp1158.noarch
ea-php55-php-litespeed-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Rdo-2.0.5-1.cp1158.noarch
ea-php54-php-xml-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Http-2.1.6-1.cp1158.noarch
ea-php-cli-lsphp-0.2.0-7.7.1.cpanel.x86_64
cpanel-php56-Horde-Image-2.3.5-1.cp1158.noarch
cpanel-php56-Horde-Service-Twitter-2.1.1-2.cp1158.noarch
ea-php56-5.6.36-1.1.1.cpanel.x86_64
cpanel-php56-Horde-ListHeaders-1.2.4-1.cp1158.noarch
ea-php55-pear-1.10.1-12.12.7.cpanel.noarch
cpanel-php56-Horde-Dav-1.1.3-1.cp1158.noarch
ea-php56-php-pgsql-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-mnemo-4.2.10-1.cp1158.noarch
ea-php54-php-curl-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-0.21.8-2.cp1158.noarch
cpanel-php56-Date-Holidays-Iceland-0.1.2-2.cp1158.noarch
cpanel-php56-Date-Holidays-UNO-0.1.3-2.cp1158.noarch
cpanel-php56-Date-Holidays-Portugal-0.1.0-2.cp1158.noarch
cpanel-php56-Date-Holidays-Ireland-0.1.3-2.cp1158.noarch
cpanel-php56-Horde-Pack-1.0.6-1.cp1158.noarch
ea-php72-php-mysqlnd-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Net-UserAgent-Detect-2.5.2-2.cp1158.noarch
cpanel-php56-Net-FTP-1.3.7-2.cp1158.noarch
ea-php55-php-sockets-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-calendar-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-enchant-5.4.45-55.55.4.cpanel.x86_64
ea-php54-php-xmlrpc-5.4.45-55.55.4.cpanel.x86_64
ea-php54-php-imap-5.4.45-55.55.4.cpanel.x86_64
ea-php56-php-tidy-5.6.36-2.2.4.cpanel.x86_64
ea-php56-php-fileinfo-5.6.36-2.2.4.cpanel.x86_64
ea-php56-php-exif-5.6.36-2.2.4.cpanel.x86_64
ea-php71-7.1.19-1.1.1.cpanel.x86_64
cpanel-php56-sourceguardian-10.0-1.cp1158.x86_64
cpanel-php56-Horde-Group-2.1.1-1.cp1158.noarch
ea-php55-php-common-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Autoloader-2.1.2-1.cp1158.noarch
ea-php71-php-posix-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Compress-2.1.5-1.cp1158.noarch
ea-php72-php-litespeed-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Xml-Element-2.0.4-1.cp1158.noarch
ea-php70-php-devel-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-SpellChecker-2.1.3-1.cp1158.noarch
ea-php54-php-litespeed-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Constraint-2.0.3-1.cp1158.noarch
ea-php56-php-litespeed-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Mime-2.9.5-1.cp1158.noarch
cpanel-php56-Horde-Data-2.1.4-1.cp1158.noarch
cpanel-php56-Horde-Date-Parser-2.0.5-1.cp1158.noarch
cpanel-php56-Horde-Timezone-1.0.11-1.cp1158.noarch
ea-php70-php-fpm-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Core-2.23.0-1.cp1158.noarch
ea-php54-php-pgsql-5.4.45-55.55.4.cpanel.x86_64
ea-php55-5.5.38-6.6.1.cpanel.x86_64
ea-php55-php-mcrypt-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-HTTP-Request-1.4.4-2.cp1158.noarch
ea-php55-php-bz2-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-gettext-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-intl-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Mail-Autoconfig-1.0.3-1.cp1158.noarch
cpanel-php56-Date-Holidays-Slovenia-0.1.2-2.cp1158.noarch
cpanel-php56-Date-Holidays-USA-0.1.1-2.cp1158.noarch
cpanel-php56-Date-Holidays-Venezuela-0.1.1-2.cp1158.noarch
ea-php72-php-pdo-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Yaml-2.0.2-2.cp1158.noarch
cpanel-php56-DB-1.7.14-2.cp1158.noarch
cpanel-php56-MDB2-2.4.1-2.cp1158.noarch
cpanel-php56-HTML-Template-IT-1.3.0-2.cp1158.noarch
cpanel-php-composer-1.6.2-1.cp1158.noarch
ea-php54-php-zendguard-3.3-7.7.83.cpanel.x86_64
ea-php54-php-iconv-5.4.45-55.55.4.cpanel.x86_64
ea-php56-php-ioncube5-5.1.1-8.8.2.cpanel.x86_64
ea-php56-php-sockets-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-zendopt-7.0.0-1.cp1158.x86_64
cpanel-php56-5.6.30-3.cp1164.x86_64
cpanel-php56-Horde-Auth-2.1.12-1.cp1158.noarch
cpanel-php56-Horde-Token-2.0.9-1.cp1158.noarch
ea-php71-php-common-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Compress-Fast-1.1.1-1.cp1158.noarch
ea-php71-php-devel-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Date-1.4.7-2.cp1158.noarch
ea-php72-php-posix-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Pdf-2.0.3-2.cp1158.noarch
ea-php55-php-xml-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Log-2.2.0-1.cp1158.noarch
ea-php54-php-posix-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Icalendar-2.1.4-1.cp1158.noarch
ea-php56-php-ftp-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Prefs-2.7.6-1.cp1158.noarch
cpanel-php56-horde-lz4-1.0.10-1.cp1158.x86_64
cpanel-php56-Horde-SyncMl-2.0.3-2.cp1158.noarch
ea-php54-pear-1.10.1-12.12.7.cpanel.noarch
cpanel-php56-Horde-Form-2.0.13-1.cp1158.noarch
ea-php71-pear-1.10.1-12.12.10.cpanel.noarch
cpanel-php56-kronolith-4.2.16-1.cp1158.noarch
ea-php56-php-curl-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-XML-Parser-1.3.4-2.cp1158.noarch
ea-php55-php-zendguard-3.3-7.7.82.cpanel.x86_64
ea-php54-libc-client-2007f-13.13.2.cpanel.x86_64
ea-php55-php-xmlrpc-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-pspell-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Norway-0.1.2-2.cp1158.noarch
cpanel-php56-Date-Holidays-Netherlands-0.1.3-2.cp1158.noarch
cpanel-php56-Date-Holidays-Germany-0.1.2-2.cp1158.noarch
cpanel-php56-Date-Holidays-Spain-0.1.3-2.cp1158.noarch
cpanel-php56-Horde-JavascriptMinify-1.1.3-1.cp1158.noarch
ea-php71-php-mysqlnd-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Log-1.12.7-2.cp1158.noarch
cpanel-php56-Console-Table-1.1.5-2.cp1158.noarch
cpanel-php56-File-1.4.1-2.cp1158.noarch
ea-php54-php-bz2-5.4.45-55.55.4.cpanel.x86_64
ea-php54-php-gd-5.4.45-55.55.4.cpanel.x86_64
ea-php56-php-imap-5.6.36-2.2.4.cpanel.x86_64
ea-php56-php-zendguard-3.3-7.7.86.cpanel.x86_64
ea-php56-php-pspell-5.6.36-2.2.4.cpanel.x86_64
ea-php72-7.2.7-1.1.1.cpanel.x86_64
ea-php71-runtime-7.1.19-1.1.1.cpanel.x86_64
cpanel-php56-Horde-Exception-2.0.8-1.cp1158.noarch
ea-php56-php-common-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Date-2.3.0-1.cp1158.noarch
ea-php54-php-pdo-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Stream-Filter-2.0.4-1.cp1158.noarch
ea-php72-php-xml-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Alarm-2.2.7-1.cp1158.noarch
ea-php70-php-litespeed-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Routes-2.0.5-1.cp1158.noarch
ea-php55-php-cli-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Imsp-2.0.5-2.cp1158.noarch
ea-php56-php-xml-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Support-2.1.5-1.cp1158.noarch
cpanel-php56-Horde-Share-2.0.10-1.cp1158.noarch
ea-apache24-mod_suphp-0.7.2-24.24.1.cpanel.x86_64
cpanel-php56-Horde-Feed-2.0.1-2.cp1158.noarch
ea-php55-php-fpm-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Crypt-Blowfish-1.1.1-1.cp1158.noarch
ea-php56-php-mysqlnd-5.6.36-2.2.4.cpanel.x86_64
ea-php55-php-iconv-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Mail-1.2.0-2.cp1158.noarch
ea-php55-php-fileinfo-5.5.38-38.38.4.cpanel.x86_64
ea-php55-php-tidy-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-calendar-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Crypt-2.7.3-2.cp1158.noarch
ea-php54-php-fileinfo-5.4.45-55.55.4.cpanel.x86_64
ea-php54-php-snmp-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Serbia-0.1.0-2.cp1158.noarch
ea-php56-php-gettext-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Romania-0.1.2-2.cp1158.noarch
ea-php56-php-snmp-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Croatia-0.1.1-2.cp1158.noarch
cpanel-php56-SOAP-0.13.0-2.cp1158.noarch
cpanel-php56-Horde-Idna-1.0.4-1.cp1158.noarch
cpanel-php56-XML-SVG-1.1.0-2.cp1158.noarch
cpanel-php56-Horde-Role-1.0.1-3.cp1158.noarch
cpanel-php56-File-Fstab-2.0.3-2.cp1158.noarch
cpanel-phpmyadmin-4.7.7-3.cp1166.noarch
ea-php56-php-gd-5.6.36-2.2.4.cpanel.x86_64
cpanel-phppgadmin-5.1-1.cp1172.noarch
cpanel-php56-Horde-Url-2.2.5-1.cp1158.noarch
cpanel-php56-Net-Socket-1.0.14-2.cp1158.noarch
ea-php71-php-litespeed-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Kolab-Session-2.0.1-2.cp1158.noarch
ea-php70-php-xml-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Mail-2.6.3-1.cp1158.noarch
ea-php56-php-cli-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-Lock-2.1.2-1.cp1158.noarch
cpanel-php56-Horde-Secret-2.0.6-1.cp1158.noarch
ea-php72-pear-1.10.1-12.12.9.cpanel.noarch
cpanel-php56-Net-URL-1.0.15-2.cp1158.noarch
ea-php55-php-ioncube5-5.1.1-8.8.2.cpanel.x86_64
ea-php55-php-exif-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-webmail-5.2.14-1.cp1158.noarch
ea-php54-php-pspell-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-SanMarino-0.1.1-2.cp1158.noarch
ea-php56-php-xmlrpc-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Services-Weather-1.4.7-2.cp1158.noarch
ea-php70-php-pdo-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-Console-Color-1.0.3-2.cp1158.noarch
ea-php72-runtime-7.2.7-1.1.1.cpanel.x86_64
cpanel-php56-Horde-Util-2.5.7-1.cp1158.noarch
cpanel-php56-Horde-Injector-2.0.5-1.cp1158.noarch
ea-php71-php-xml-7.1.19-1.1.3.cpanel.x86_64
ea-php55-php-ftp-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Template-2.0.3-1.cp1158.noarch
cpanel-php56-Horde-Controller-2.0.4-1.cp1158.noarch
cpanel-php56-Horde-Cli-2.0.6-2.cp1158.noarch
ea-php54-runtime-5.4.45-20.20.1.cpanel.x86_64
ea-php71-php-fpm-7.1.19-1.1.3.cpanel.x86_64
cpanel-php56-turba-4.2.14-1.cp1158.noarch
ea-php55-libc-client-2007f-13.13.2.cpanel.x86_64
ea-php55-php-enchant-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-bcmath-5.4.45-55.55.4.cpanel.x86_64
ea-php54-php-ioncube5-5.1.1-8.8.2.cpanel.x86_64
cpanel-php56-Date-Holidays-Australia-0.2.1-2.cp1158.noarch
ea-php56-php-mcrypt-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Italy-0.1.1-2.cp1158.noarch
ea-php70-php-pgsql-7.0.30-2.2.4.cpanel.x86_64
cpanel-php56-PEAR-Command-Packaging-0.3.0-2.cp1158.noarch
ea-php70-7.0.30-1.1.1.cpanel.x86_64
cpanel-php56-Horde-Nls-2.2.0-1.cp1158.noarch
ea-php54-php-common-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-Cache-2.5.3-1.cp1158.noarch
ea-php72-php-ftp-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Kolab-Format-2.0.4-2.cp1158.noarch
ea-php55-php-devel-5.5.38-38.38.4.cpanel.x86_64
cpanel-php56-Horde-Perms-2.1.7-1.cp1158.noarch
ea-php-cli-0.2.0-7.7.1.cpanel.x86_64
cpanel-php56-Horde-ElasticSearch-1.0.2-2.cp1158.noarch
ea-php56-php-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-horde-5.2.10-4.cp1158.noarch
ea-php54-php-mysqlnd-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Mail-Mime-1.8.3-2.cp1158.noarch
ea-php55-php-snmp-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-zip-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Czech-0.1.0-2.cp1158.noarch
ea-php54-php-exif-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Brazil-0.1.2-2.cp1158.noarch
ea-php56-php-mbstring-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-XML-RPC-1.5.5-2.cp1158.noarch
cpanel-php56-Horde-Text-Filter-2.3.4-1.cp1158.noarch
ea-php72-php-common-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Stream-1.6.3-1.cp1158.noarch
ea-php72-php-devel-7.2.7-1.1.3.cpanel.x86_64
cpanel-php56-Horde-Text-Diff-2.1.2-1.cp1158.noarch
ea-php54-php-devel-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Horde-View-2.0.6-1.cp1158.noarch
cpanel-php56-Horde-Oauth-2.0.1-2.cp1158.noarch
ea-php56-php-fpm-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-content-2.0.5-1.cp1158.noarch
ea-php55-php-pgsql-5.5.38-38.38.4.cpanel.x86_64
ea-php55-runtime-5.5.38-6.6.1.cpanel.x86_64
cpanel-php56-XML-Serializer-0.20.2-2.cp1158.noarch
ea-php55-php-bcmath-5.5.38-38.38.4.cpanel.x86_64
ea-php54-php-mbstring-5.4.45-55.55.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Japan-0.1.2-2.cp1158.noarch
ea-php56-php-bcmath-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Date-Holidays-Ukraine-0.1.2-2.cp1158.noarch
ea-php56-php-soap-5.6.36-2.2.4.cpanel.x86_64
cpanel-php56-Horde-CssMinify-1.0.2-2.cp1158.noarch
cpanel-php56-Text-Figlet-1.0.2-2.cp1158.noarch 

还尝试查看使用phpinfo的配置,并且一切似乎都很好,就像活跃且有效的MySQL服务器一样!同样,在执行php -i | grep mysql时,请告诉我MySQL是活动的并且mysqli模块已加载。我在OVH上使用CentOS VPS服务器。

编辑:不要将我的问题标记为重复,因为我的服务器是CentOS,并且您在此处链接的可能的链接适用于在apt-get命令下无法在CentOS上运行的Apache服务器。 !!!

    Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
mysql.allow_local_infile => On => On
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
mysqli
Client API library version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
mysqli.allow_local_infile => On => On
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqli.rollback_on_cached_plink => Off => Off
mysqlnd
mysqlnd => enabled
Version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
API Extensions => mysql,mysqli,pdo_mysql
mysqlnd statistics =>
PDO drivers => mysql, pgsql, sqlite
pdo_mysql
Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock 

0 个答案:

没有答案