mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
14k stars 1.44k forks source link

Place the PHP version into a variable #2307

Open binarykitchen opened 1 year ago

binarykitchen commented 1 year ago

Sooner or later, when upgrading Nextcloud, we will have to upgrade PHP as well.

As a preparation, to make any future PHP upgrades easier, I recommend putting its version into a variable first.

For example:

server unix:/var/run/php/php8.0-fpm.sock;

Should actually come from a variable, like:

server unix:/var/run/php/php{{phpver}}-fpm.sock;

For inspiration, refer to these commits from other forks:

Again, in this ticket, make no PHP upgrades. Just have the PHP version defined in one place only.

binarykitchen commented 1 year ago

PR is here: https://github.com/mail-in-a-box/mailinabox/pull/2308