Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WampServer doesn't update the PHP version list

Tags:

php

wampserver

as the title above, WampServer seems like doesn't update the PHP version list....

I already download and include php7.4.10 folder, but the list doesn't seems to be updated....

I also even restart my computer, and the list didn't updated..

enter image description here enter image description here

For your info, this is on production server...

While in test server and my localhost, there's nothing problem at all to upgrade the php version...

This problem occurred only to my production server..

Is there any alternative way to update the php version?

like image 785
Syamsoul Azrien Avatar asked Dec 31 '22 20:12

Syamsoul Azrien


1 Answers

I had this issue today when updating to PHP 8.0.3, where after installing the add-on for the new version from https://wampserver.aviatechno.ne, the new 8.0.3 version wasn't added to the list at WAMP>PHP>Versions.

The solution that worked for me:

  1. Check if there is a PHP error (that happens when you Refresh WAMP) by going to WAMP>PHP>PHP Error Log.
  2. I found an error where PHP didn't have enough memory to Refresh WAMP.
  3. I increased the memory_limit in C:\wamp64\bin\php\php5.6.40\php.ini to 2000M from 128M (Note: if WAMP uses a different PHP version for CLI, update their respective php.ini)
  4. Right-click WAMP > Refresh

Hopefully this helps

like image 78
Thaer A Avatar answered Jan 06 '23 02:01

Thaer A