Skip to content

Commit c3f4ffc

Browse files
committed
default php-fpm to use ondemand mode
1 parent 0068852 commit c3f4ffc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ ALTER TABLE `web_backup` ADD `backup_password` VARCHAR( 255 ) NOT NULL DEFAULT
1616

1717
-- rename Comodo to "Sectigo / Comodo CA"
1818
UPDATE `dns_ssl_ca` SET `ca_name` = 'Sectigo / Comodo CA' WHERE `ca_issue` = 'comodoca.com';
19+
20+
-- default php-fpm to ondemand mode
21+
ALTER TABLE `web_domain` ALTER pm SET DEFAULT 'ondemand';

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ CREATE TABLE `web_domain` (
20462046
`nginx_directives` mediumtext,
20472047
`php_fpm_use_socket` ENUM('n','y') NOT NULL DEFAULT 'y',
20482048
`php_fpm_chroot` enum('n','y') NOT NULL DEFAULT 'n',
2049-
`pm` enum('static','dynamic','ondemand') NOT NULL DEFAULT 'dynamic',
2049+
`pm` enum('static','dynamic','ondemand') NOT NULL DEFAULT 'ondemand',
20502050
`pm_max_children` int(11) NOT NULL DEFAULT '10',
20512051
`pm_start_servers` int(11) NOT NULL DEFAULT '2',
20522052
`pm_min_spare_servers` int(11) NOT NULL DEFAULT '1',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@
861861
'pm' => array (
862862
'datatype' => 'VARCHAR',
863863
'formtype' => 'SELECT',
864-
'default' => 'dynamic',
864+
'default' => 'ondemand',
865865
'value' => array('static' => 'static', 'dynamic' => 'dynamic', 'ondemand' => 'ondemand (PHP Version >= 5.3.9)')
866866
),
867867
'pm_max_children' => array (

0 commit comments

Comments
 (0)