问题
Trying to initiate local Wordpress i got the message : Votre serveur utilise la version 5.6.18 de PHP mais WordPress 5.2 nécessite au moins la version 5.6.20. How can I solve the problem Thanks and Regards
回答1:
You can update PHP version within the control panel of uWamp. also you can install manually any version that you want and uWamp will recognize.
uWamp screenshot
回答2:
As a note, you might simply copy over an existing php_uwamp.ini file into the new PHP folder to retain the customizations you have. Please bear in mind that when switching to a new MAJOR version (v7 to v8) the .ini may have changed.
回答3:
After manually upgrading php to version 7.4.9 in uWamp there is a warning in phpMyAdmin. This is caused by a too old version of phpMyAdmin in uWamp. After upgrading phpMyAdmin to version 4.9.5 the warnig in phpAdmin has been gone.
来源:https://stackoverflow.com/questions/61229550/how-to-upgrade-php-version-in-uwamp