MAMP PRO won't let me change PHP version on top of hosts

I don't know why, but somehow my MAMP PRO won't let me change the PHP version on top of the host. I am using MAMP PRO 4. If you look, you will notice that the option for this is disabled,

I left a screenshot here,

MAMP PRO configuration

Any idea ?,

Hello!

+3


source to share


3 answers


I just decided. The error was executing PHP as a module mode if you want to have a version with multiple instances for each vhost you have to run as CGI



+9


source


Possibility 1: your server is running (you cannot change the php version while the service is running)



Possibility 2: you only have 1 php version installed on your machine

+1


source


To run a different PHP version on each host, go to Languages> PHP> Individual PHP version for each host (CGI mode).

Go back to Settings> Hosts and under the node a dropdown menu should be available to select your PHP version.

enter image description here

0


source







All Articles