Gentoo Nextcloud PHP

Why Gentoo GNU/Linux rules (For me) as PHP web development environment?

Usually clients do not have the latest PHP version installed and this is when Gentoo becomes handy thanks to the Portage package manager Slot system, lets look it in deep…

Currently Gentoo packages different versions of PHP like 7.2, 7.3, 7.4 and 8.0 and thanks to the slot system you can have more than one installed, but thats not all, you can also “clone” the /etc/init.d/php-fpm putting a score and the name of the version you want this new php-fpm instance to execute so having a multiversion development environment is no longer hard.

Also this capacities Gentoo comes with are pretty handy for servers allowing you to create a new init service with a especific version isolated in a user if you think some service is more critical at security or performance level than the others giving you such a powerful server environment too. I use this with my Nextcloud instance so the data cannot be accesed or manipulated from other PHP services.

Installing Gentoo the first time is never easy, but it provides such a powerful and customizable operative system so the effort in learning how to use that distribution of GNU/Linux is not a wasted effort.

By sergiotarxz

I am a software developer with high interest on free software.

Leave a Reply

Your email address will not be published. Required fields are marked *