Syamsoul Azrien
Syamsoul Azrien

Reputation: 2742

WampServer doesn't update the PHP version list

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?

Upvotes: 8

Views: 12788

Answers (5)

Hugo Trial
Hugo Trial

Reputation: 396

Found it ! Add the following in line 2 of the wamp64/scripts/refresh.php file :

ini_set('memory_limit', '2048M');

It will just avoid a memory exceed issue aborting wamp manager update. Then restart wampmanager :)

Upvotes: 5

BenJonroc
BenJonroc

Reputation: 123

I had the same issue when updating WAMP Manager Update 3.2.5 and Upgrading to PHP 7.4 via the Addons Package both found here. When I updated WAMP Manager it showed an even older version than I already had (on the GUI) and when I ran the PHP 7.4 package addon it did not show up in my PHP list.

My solution was to choose an even older version of PHP from the list and then after WAMP restarted my new PHP 7.4 was showing and the WAMP Manager was showing the newest version. So it clearly had to do with WAMP restarting which makes me wonder if restarting all services or a full PC reboot would have helped as well.

Upvotes: 0

Thaer A
Thaer A

Reputation: 2323

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

Upvotes: 15

Syamsoul Azrien
Syamsoul Azrien

Reputation: 2742

Ok... now I know why... it is because there's something wrong in php.ini configuration.. need to check again the configuration..... for my case, I need to remove the code as image below:

enter image description here

Actually fresh php version 7.4.10 doesn't have this interbase configuration.... i copy this [interbase] code from previous php version which is version 7.2.14..

But after remove back this interbase configuration, my problem solved..

Conclusion is: If you face same problem like me (or if apache service cannot started), it means there's something wrong with your php.ini configuration... trust me...

Upvotes: 2

Bhargav Variya
Bhargav Variya

Reputation: 765

If you want to manually install PHP 7.4.10,into your WampServer version.

  1. Download binaries on php.net

  2. Extract all files in a new folder :C:/wamp/bin/php/php7.4.10/

  3. Copy the wampserver.conf from another php folder (like php/php7.2.14/) to the new folder

  4. Rename php.ini-development file to phpForApache.ini

  5. Done ! Restart WampServer.

This will help you.

Upvotes: 3

Related Questions