I don't know why but for some reason my MAMP PRO doesn't allow me to change PHP version over host. I'm using MAMP PRO 4. If you take a look you will notice the option for that is disabled,
I left here a screenshot,
Any idea?,
Regards!
I don't know why but for some reason my MAMP PRO doesn't allow me to change PHP version over host. I'm using MAMP PRO 4. If you take a look you will notice the option for that is disabled,
I left here a screenshot,
Any idea?,
Regards!
I just resolved. The error was running PHP as module mode, if you want to have multiples version for each vhost you must run as CGI
To run a different PHP version on each host, go Languages > PHP > Individual PHP version for every host (CGI mode).
Return to Settings > Hosts and under the host a dropdown should be available to choose your PHP version.
Possibility 1: your server is running (you cannot change php version when the serving is running)
Possibility 2: you only have 1 version of php installed on your computer