PHP

phpswitcher

phpswitch

I was searching for an easy way to switch php versions on my linux nginx development environment. And found a pretty good guide:
https://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way

The solution had two downsides for me.

docker multi project development environment

docker vhostalias setup for a multi project development environment

Often Docker is used on a per project case. Which is great when you have a specific configuration for a project. It's probably also the way you should go when you want to mimic exactly the production environment or when you want to use the docker container itself also for the production environment.

But what if you want a good development setup but don't need a specific docker setup for the projects running on it. That can be the case with study projects, or smaller projects which are less critical on the configuration and/or simulation of the (production) environment.

Abonneren op RSS - PHP