Reputation: 2742
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..
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
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
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
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:
Hopefully this helps
Upvotes: 15
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:
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
Reputation: 765
If you want to manually install PHP 7.4.10
,into your WampServer version.
Download binaries on php.net
Extract all files in a new folder :C:/wamp/bin/php/php7.4.10/
Copy the wampserver.conf from another php folder (like php/php7.2.14/) to the new folder
Rename php.ini-development file to phpForApache.ini
Done ! Restart WampServer.
This will help you.
Upvotes: 3