Database Error: The PHP `ext/mysql` extension is removed in PHP 7, cannot use the `mysql` driver. Also, this system does not support MySQLi or PDO MySQL. Cannot instantiate database driver.
Posted by: carsten888 (---.static.trined.nl)
Date: August 02, 2017 08:06AM

I've manually installed another PHP version to Wamp. Now I get this message:

Database Error: The PHP `ext/mysql` extension is removed in PHP 7, cannot use the `mysql` driver. Also, this system does not support MySQLi or PDO MySQL. Cannot instantiate database driver.

other php versions work fine.

What do I need to do to get this working again?

Wamp 3.0.4
windows 10
php 7.1.5



Edited 1 time(s). Last edit at 08/02/2017 08:08AM by carsten888.

Options: ReplyQuote
Re: Database Error: The PHP `ext/mysql` extension is removed in PHP 7, cannot use the `mysql` driver. Also, this system does not support MySQLi or PDO MySQL. Cannot instantiate database driver.
Posted by: Otomatic (Moderator)
Date: August 02, 2017 09:33AM

Hi,

It is clear!
The mysql extension no longer exists in PHP 7. The mysqli extension must be used.

Update to version 3.0.9.

Use mysqli driver for yours databases.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Database Error: The PHP `ext/mysql` extension is removed in PHP 7, cannot use the `mysql` driver. Also, this system does not support MySQLi or PDO MySQL. Cannot instantiate database driver.
Posted by: RiggsFolly (Moderator)
Date: August 02, 2017 01:04PM

Also, you dont have to manually install PHP version in WAMPServer 3.

See the list of ADDONS In the backup repository for ADDONS for PHP - MYSQL - APACHE - MariaDB - phpMyAdmin - Adminer - XDEBUG etc

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.