PHP-FPM Option w/o version (#166)

This commit is contained in:
Mikhail Solovev 2020-09-15 13:06:45 +03:00 committed by GitHub
parent 104a718c05
commit 446775978f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -38,5 +38,6 @@ export default {
php72Socket: '7.2 socket',
php73Socket: '7.3 socket',
php74Socket: '7.4 socket',
phpSocket: 'PHP socket',
disabled: 'Disabled',
};

View file

@ -95,11 +95,12 @@ THE SOFTWARE.
'/var/run/php/php7.0-fpm.sock': `${i18n.templates.globalSections.php.php70Socket}: /var/run/php/php7.0-fpm.sock`,
'/var/run/php/php7.3-fpm.sock': `${i18n.templates.globalSections.php.php73Socket}: /var/run/php/php7.3-fpm.sock`,
'/var/run/php/php7.4-fpm.sock': `${i18n.templates.globalSections.php.php74Socket}: /var/run/php/php7.4-fpm.sock`,
'/var/run/php/php-fpm.sock': `${i18n.templates.globalSections.php.phpSocket}: /var/run/php/php-fpm.sock`,
};
const defaults = {
phpServer: {
default: '/var/run/php/php7.2-fpm.sock',
default: '/var/run/php/php-fpm.sock',
options: serverOptions,
enabled: true,
},