Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Dragos (---.ro)
Date: February 02, 2025 07:16AM

Hi,
After change php version with 8.4.0 or 8.4.3 i have this error:
Warning


PhpMyAdmin 5.2.2 - Not compatible with PHP 8.4.0
You must use a version of PhpMyAdmin from 6.0.0 to 6.0.0
----------------------------------------

Press ENTER to continue

When i check of phpmyadmin website, version 6.0.0 is not released...??? Why is here on wampserver downloads ?

===========================
thank you,
Dragos
===========================
I use:
windows 11 x64 bit
wampserver 3.3.8 (64bit)
php 8.4.16
mysql 9.5.0
phpmyadmin 5.2.3
Adminer 5.4.1
apache 2.4.65
MariaDB 12.0.2

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Otomatic (Moderator)
Date: February 02, 2025 10:07AM

Hi,

Switch PhpMyAdmin to FCGI mode with PHP 8.3.16

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

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Dragos (---.ro)
Date: February 02, 2025 04:26PM

How can i do that?

===========================
thank you,
Dragos
===========================
I use:
windows 11 x64 bit
wampserver 3.3.8 (64bit)
php 8.4.16
mysql 9.5.0
phpmyadmin 5.2.3
Adminer 5.4.1
apache 2.4.65
MariaDB 12.0.2

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Otomatic (Moderator)
Date: February 02, 2025 04:42PM

Add a VirtualHost page -> FCGI mode help

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

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Dragos (---.ro)
Date: February 02, 2025 05:07PM

There is probably a misunderstanding here...it is not about the website but about the fact that I cannot work on the database with phpmyadmin 5.2.2 if I use php 8.4.0 or 8.4.3. Phpmyadmin 5.2.2 appears with a yellow triangle with an exclamation mark and if I click on it the error above appears...which I repeat here:
Warning

PhpMyAdmin 5.2.2 - Not compatible with PHP 8.4.0
You must use a version of PhpMyAdmin from 6.0.0 to 6.0.0
--------------------------------------

===========================
thank you,
Dragos
===========================
I use:
windows 11 x64 bit
wampserver 3.3.8 (64bit)
php 8.4.16
mysql 9.5.0
phpmyadmin 5.2.3
Adminer 5.4.1
apache 2.4.65
MariaDB 12.0.2

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Otomatic (Moderator)
Date: February 02, 2025 05:41PM

There's no misunderstanding!

Just switch PhpMyAdmin to FCGI mode, for example with PHP 8.3.16, and there'll be no more errors!

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

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Dragos (---.ro)
Date: February 02, 2025 06:18PM

No option for that in the panel....

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Otomatic (Moderator)
Date: February 02, 2025 06:40PM

In the "mode FCGI help" it is written:
This same page [localhost] also allows, via the Alias modification form, to add the FCGI mode to an Alias, to change the PHP version or to remove the FCGI mode...

It's as easy as six clicks!

Left-click -> Your VirtualHosts -> VirtualHost management
or
Left-click -> Localhost -> Add a VirtualHost

-> Modify Alias form
-> Check Phpmyadmin
-> Modify alias
-> Check If you want to use PHP in FCGI mode
-> Choose PHP version
-> Start the modification of the alias

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

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Dragos (---.ro)
Date: February 02, 2025 10:02PM

Thank you very much !!!!

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: rlpvl (---.snjecax1.pop.starlinkisp.net)
Date: July 05, 2025 02:01AM

Otomatic Wrote:
-------------------------------------------------------
> Switch PhpMyAdmin to FCGI mode with PHP 8.3.16


There is an alternative. PHPMyAdmin 5.2.2 does support PHP 8.4, so long as you disable PHP deprecation warnings. To do that for PHPMyAdmin only without affecting other PHP code, simply add a .htaccess file at the root of the PHPMyAdmin folder (typically c:\wamp64\apps\phpmyadmin5.2.2\) containing this line:

php_value error_reporting 22527


WAMPServer will still display the warning about PHPMyAdmin not being compatible, but run it anyway and it will work just fine. This solution works when PHPMyAdmin runs via the Apache PHP module; it will not work in FCGI mode.

Maybe Otomatic would like to modify the PHPMyAdmin installer to add this file and at the same time remove the warning?

Options: ReplyQuote
Re: Php 8.4.0 and php 8.4.3 incompatible with phpmyadmin
Posted by: Otomatic (Moderator)
Date: July 05, 2025 09:41AM

Thanks for this solution.

However, I wouldn't modify the installer to add the .htaccess file because it becomes too complicated to manage in correlation with Warning.

Switching PhpMyAdmin 5.2.2 to FCGI mode is done almost automatically with a few clicks.

On the other hand, I can create an installer directly in FCGI mode.

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.