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.

Home Page:https://mailinabox.email/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Place the PHP version into a variable

binarykitchen opened this issue · comments

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.