Skip to content

Commit f3c28d3

Browse files
author
Webslice
committed
Add support for chrooted php-fpm, implements #3220
1 parent 061583c commit f3c28d3

33 files changed

+91
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `web_domain` ADD COLUMN `php_fpm_chroot` enum('n','y') NOT NULL DEFAULT 'n' AFTER `php_fpm_use_socket`;

interface/web/sites/form/web_vhost_domain.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,12 @@
772772
'default' => 'n',
773773
'value' => array(0 => 'n', 1 => 'y')
774774
),
775+
'php_fpm_chroot' => array (
776+
'datatype' => 'VARCHAR',
777+
'formtype' => 'CHECKBOX',
778+
'default' => 'n',
779+
'value' => array(0 => 'n', 1 => 'y')
780+
),
775781
'pm' => array (
776782
'datatype' => 'VARCHAR',
777783
'formtype' => 'SELECT',

interface/web/sites/lib/lang/ar_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ $wb['seo_redirect_txt'] = 'SEO Redirect';
8080
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8181
$wb['www_to_non_www_txt'] = 'www -> non-www';
8282
$wb['php_fpm_use_socket_txt'] = 'Use Socket For PHP-FPM';
83+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8384
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8485
$wb['python_txt'] = 'Python';
8586
$wb['pm_max_children_txt'] = 'PHP-FPM pm.max_children';

interface/web/sites/lib/lang/bg_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ $wb['seo_redirect_txt'] = 'SEO редирект';
7979
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8080
$wb['www_to_non_www_txt'] = 'www -> non-www';
8181
$wb['php_fpm_use_socket_txt'] = 'Използвай сокет за PHP-FPM';
82+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8283
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8384
$wb['python_txt'] = 'Python';
8485
$wb['pm_max_children_txt'] = 'PHP-FPM pm.max_children';

interface/web/sites/lib/lang/br_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ $wb['seo_redirect_txt'] = 'Redirecionamento SEO';
7979
$wb['non_www_to_www_txt'] = 'Diretivas Non-www -> www';
8080
$wb['www_to_non_www_txt'] = 'Diretivas www -> non-www';
8181
$wb['php_fpm_use_socket_txt'] = 'Usar soquete para o PHP-FPM';
82+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8283
$wb['error_no_sni_txt'] = 'O SNI para SSL não está ativo neste servidor. Você só pode habilitar um certificado para cada endereço IP.';
8384
$wb['python_txt'] = 'Python';
8485
$wb['pm_max_children_txt'] = 'Diretiva PHP-FPM pm.max_children';

interface/web/sites/lib/lang/ca_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ $wb['seo_redirect_txt'] = 'SEO Redirect';
8282
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8383
$wb['www_to_non_www_txt'] = 'www -> non-www';
8484
$wb['php_fpm_use_socket_txt'] = 'Use Socket For PHP-FPM';
85+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8586
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8687
$wb['python_txt'] = 'Python';
8788
$wb['perl_txt'] = 'Perl';

interface/web/sites/lib/lang/cz_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ $wb['seo_redirect_txt'] = 'SEO přesměrování';
8383
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8484
$wb['www_to_non_www_txt'] = 'www -> non-www';
8585
$wb['php_fpm_use_socket_txt'] = 'Use Socket For PHP-FPM';
86+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8687
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8788
$wb['python_txt'] = 'Python';
8889
$wb['pm_max_children_txt'] = 'PHP-FPM pm.max_children';

interface/web/sites/lib/lang/de_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ $wb['seo_redirect_txt'] = 'SEO Redirect';
8282
$wb['non_www_to_www_txt'] = 'Nicht-www -> www';
8383
$wb['www_to_non_www_txt'] = 'www -> Nicht-www';
8484
$wb['php_fpm_use_socket_txt'] = 'Benutze Socket für PHP-FPM';
85+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8586
$wb['ipv6_address_txt'] = 'IPv6 Adresse';
8687
$wb['error_no_sni_txt'] = 'SNI für SSL ist auf diesem Server nicht aktiviert. Sie können daher nur ein SSL Zertifikat pro IP Adresse eintragen.';
8788
$wb['python_txt'] = 'Python';

interface/web/sites/lib/lang/dk_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ $wb['seo_redirect_txt'] = 'SEO Redirect';
8282
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8383
$wb['www_to_non_www_txt'] = 'www -> non-www';
8484
$wb['php_fpm_use_socket_txt'] = 'Use Socket For PHP-FPM';
85+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8586
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8687
$wb['python_txt'] = 'Python';
8788
$wb['perl_txt'] = 'Perl';

interface/web/sites/lib/lang/el_web_vhost_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ $wb['seo_redirect_txt'] = 'Ανακατεύθυνση SEO';
8080
$wb['non_www_to_www_txt'] = 'Non-www -> www';
8181
$wb['www_to_non_www_txt'] = 'www -> non-www';
8282
$wb['php_fpm_use_socket_txt'] = 'Use Socket For PHP-FPM';
83+
$wb['php_fpm_chroot_txt'] = 'Chroot PHP-FPM';
8384
$wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.';
8485
$wb['python_txt'] = 'Python';
8586
$wb['pm_max_children_txt'] = 'PHP-FPM pm.max_children';

0 commit comments

Comments
 (0)