Hey, congrats on your first post ! That's a pretty nice solution too.
What I usually do with my LAMP stack is use php-fpm, run all versions I need at the same time, and then in my apache VirtualHost set the correct handler for php files depending on the version I want :
That way all my projects run at the same time without needing to switch from one version to the other, except for the CLI where I still need to run update-alternatives
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, congrats on your first post ! That's a pretty nice solution too.
What I usually do with my LAMP stack is use php-fpm, run all versions I need at the same time, and then in my apache VirtualHost set the correct handler for php files depending on the version I want :
or
That way all my projects run at the same time without needing to switch from one version to the other, except for the CLI where I still need to run
update-alternatives