It seems that in your PHP installation is missing the MySQL extension, which is required by WordPress.
Posted by: webipsum (---.virtua.com.br)
Date: July 07, 2019 06:28AM

Hello.
After a long time I am returning to Wordpress.
I used WampServer 2.5 64
I exported .sql from a Wordpress site.
I removed WampServer 2.5 64
I installed WampServer 3.1.9 64
I imported the .sql, through phpMyAdmin - Server Choice: MySQL.
I copied in the www folder from WampServer 3.1.9 the site folder that was in the WampServer 2.5 www folder.
The BD and Tables seem to be ok!
But every time I try to enter the site, type:
localhost/site/ or localhost/site/wp-admin, the following message appears:
It seems that in your PHP installation is missing the MySQL extension, which is required by WordPress.
Please, any tips?

Options: ReplyQuote
Re: It seems that in your PHP installation is missing the MySQL extension, which is required by WordPress.
Posted by: Otomatic (Moderator)
Date: July 07, 2019 09:12AM

Hi,

mysql extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See [www.php.net]

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.41 - PHP 7.3.9/7.2.22/7.1.32/7.0.33/5.6.40 - MySQL 5.7.27 - MariaDB 10.4.7
Wampserver 3.1.9 64 bit - Apache 2.4.41 - PHP 7.3.9/7.2.22/7.1.32/7.0.33/5.6.40 - MySQL 5.7.27/8.0.17 - MariaDB 10.4.7
PhPMyadmin 4.9.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: It seems that in your PHP installation is missing the MySQL extension, which is required by WordPress.
Posted by: webipsum (---.virtua.com.br)
Date: July 07, 2019 03:51PM

Otomatic, thank you for your response.
I understood.
But I do not know how to make changes to Wordpress.
Have a great weekend.

Options: ReplyQuote
Re: It seems that in your PHP installation is missing the MySQL extension, which is required by WordPress.
Posted by: Otomatic (Moderator)
Date: July 07, 2019 05:26PM

Hi,

> But I do not know how to make changes to Wordpress.
Wampserver 3.1.9 supports php 5.6.40, so you can switch to PHP 5.6.40 which still supports the mysql library.
But the permanent solution would be to see on the WordPress side how to switch to the mysqli library.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.41 - PHP 7.3.9/7.2.22/7.1.32/7.0.33/5.6.40 - MySQL 5.7.27 - MariaDB 10.4.7
Wampserver 3.1.9 64 bit - Apache 2.4.41 - PHP 7.3.9/7.2.22/7.1.32/7.0.33/5.6.40 - MySQL 5.7.27/8.0.17 - MariaDB 10.4.7
PhPMyadmin 4.9.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.