Cannot switch PHP versions
Posted by: radioattic (---.res.spectrum.com)
Date: March 22, 2024 02:56PM

I cannot change PHP versions from the tray menu. It is returning to 8.0.26. I get an error message (below). This problem first occurred yesterday. I have been using PHP 7.4.33 but am working on an upgrade to 8.1.

1 - Windows version 11 64 bit
2 - WampServer version 3.3.0 64 bit
3 - Apache Version 2.4.54.2
4 - PHP Version 8.0.26
5 - MySQL Version 5.7.40
5a - MariaDB version n/a
6 - WampServer icon - green
7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines?
127.0.0.1 localhost
::1 localhost
8 - Do you have access to localhost (Homepage WampServer)? Yes
8a - If so, is there an error message at the bottom of the page? No
9 - Do you have access to phpMyAdmin? Yes

10 - Error message:
[22-Mar-2024 13:40:20 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in C:\wamp64\scripts\refresh.php on line 638
[22-Mar-2024 13:40:20 UTC] PHP Stack trace:
[22-Mar-2024 13:40:20 UTC] PHP 1. {main}() C:\wamp64\scripts\refresh.php:0
[22-Mar-2024 13:40:20 UTC] PHP 2. file($filename = 'c:/wamp64/logs/php_error.log') C:\wamp64\scripts\refresh.php:638

11 - Antivirus Malware Bytes
12 - installation path c:\wamp64
13 - No virtual hosts

Options: ReplyQuote
Re: Cannot switch PHP versions
Posted by: Otomatic (Moderator)
Date: March 22, 2024 03:07PM

Hi,

- Right-Click -> Restart from zero

- Update to Wampserver 3.3.3

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.