PHP 7.4.19 not compatible with phpMyAdmin 5.1.1
Posted by: TinoKF (
Date: September 13, 2021 03:00PM

Couple of weeks ago I've updated my phpMyAdmin to version 5.1.1.

I have two versions of PHP installed that I'm actively using: 7.2.4 and 7.4.19. Both of them should be compatible with PMA 5.1.1 according to PMA's and WAMP's websites.

It was actually working well for multiple days/weeks. Today, out of a sudden I've noticed a yellow exclamation mark next to my "phpMyadmin" label in WAMP's tray menu. I've also noticed the notice at the bottom of tray menu:

"PhpMyAdmin not compatible with PHP 7.4.19". If I click on it, this notice displays in CMD interface:


There is an error.

PhpMyAdmin not compatible with PHP 7.4.19
You must use a version of PhpMyAdmin from 4.7.4 to 5.1.0"

This is however really strange, because:
a) PHP 7.2 and 7.4 should be perfectly compatible with 5.1.1
b) it actually was working like a charm couple of days ago

If I try to ignore the error and open phpMyAdmin, default WAMP landing page appears with these two PHP notices at the top:
"Notice: Undefined offset: 1 in C:\wamp64\scripts\wampserver.lib.php on line 996"
"Notice: Undefined offset: 2 in C:\wamp64\scripts\wampserver.lib.php on line 997"

This is the stack trace for those notices:
1 0.0000 369048 {main}( ) ...\index.php:0
2 0.0000 438432 GetPhpMyAdminVersions( ) ...\index.php:142

I've tried restarting all services multiple times, also switching PHP versions. What could be the issue?

Edited 1 time(s). Last edit at 09/13/2021 03:02PM by TinoKF.

Options: ReplyQuote
Re: PHP 7.4.19 not compatible with phpMyAdmin 5.1.1
Posted by: Otomatic (Moderator)
Date: September 13, 2021 04:42PM


- Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.[/u)
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

- Apply Update 3.2.5 to your version of Wampserver
Wampserver update 3.2.5

- Fix bug, error and omission
Wampserver 3.2 all versions, update 3.2.5 included - File wamp(64)\scripts\wampserver.lib.php
- In the two functions linkPhpDllToApacheBin and CheckSymlink
Replace lines 185 and 239:
Be sure to respect the case - Save the modified file.

> Couple of weeks ago I've updated my phpMyAdmin to version 5.1.1.
How ?

Wampserver 3.2.6 32 bit - Apache 2.4.49 - PHP 8.0.9…5.6.40 - MySQL 5.7.35 - MariaDB 10.5.12/10.6.4
Wampserver 3.2.6 64 bit - Apache 2.4.49 - PHP 8.0.9…5.6.40 - MySQL 5.7.35/8.0.26 - MariaDB 10.5.12/10.6.4
PhPMyadmin 5.1.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 »

Edited 1 time(s). Last edit at 09/13/2021 04:44PM by Otomatic.

Options: ReplyQuote

Sorry, only registered users may post in this forum.