Download PHP .zip
from PHP site https://windows.php.net/downloads/releases/archives/
Extract to C:\MAMP\bin\php\phpx.x.x
where x.x.x
is downloaded version number.
Stop Mamp servers and close it.
Open C:\MAMP\bin\mamp\mamp.conf.json
using any editor.
find
{
"name": "PHP",
"version": "5.3.23 & 5.4.1 & 5.4.45 & 5.5.0 & 5.5.38 & 5.6.0 & 5.6.30 & 7.0.19 & 7.1.0"
},
and add in version string & x.x.x
Start MAMPPRO and don't forget to edit PHP configuration via mamp editor.
Don't forget to enable plugins and is not bad to add extension_dir = "C:\MAMP\bin\php\phpx.x.x\ext"
source https://stackoverflow.com/questions/68967006/mamp-pro-3-3-1-add-new-php-version-for-windows-users
Comments
Post a Comment