|
|
@ -1,14 +1,15 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
if (($dl{status'} || 'disabled) eq 'enabled'){ |
|
|
|
if ($PHP_VERSION eq '56'){ |
|
|
|
$OUT .=<<_EOF; |
|
|
|
if (($dl{status'} || 'disabled) eq 'enabled'){ |
|
|
|
[php71-dl] |
|
|
|
$OUT .=<<_EOF; |
|
|
|
|
|
|
|
[php56-dl] |
|
|
|
user = www |
|
|
|
user = www |
|
|
|
group = www |
|
|
|
group = www |
|
|
|
listen.owner = root |
|
|
|
listen.owner = root |
|
|
|
listen.group = www |
|
|
|
listen.group = www |
|
|
|
listen.mode = 0660 |
|
|
|
listen.mode = 0660 |
|
|
|
listen = /var/run/php-fpm/php71-dl.sock |
|
|
|
listen = /var/run/php-fpm/php56-dl.sock |
|
|
|
pm = dynamic |
|
|
|
pm = dynamic |
|
|
|
pm.max_children = 15 |
|
|
|
pm.max_children = 15 |
|
|
|
pm.start_servers = 3 |
|
|
|
pm.start_servers = 3 |
|
|
@ -37,9 +38,10 @@ php_admin_flag[allow_url_include] = off |
|
|
|
php_admin_value[session.save_handler] = files |
|
|
|
php_admin_value[session.save_handler] = files |
|
|
|
php_admin_value[output_buffering] = off |
|
|
|
php_admin_value[output_buffering] = off |
|
|
|
_EOF |
|
|
|
_EOF |
|
|
|
} |
|
|
|
|
|
|
|
else{ |
|
|
|
|
|
|
|
$OUT .= '; Dl is disabled'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else{ |
|
|
|
|
|
|
|
$OUT .= '; Dl is disabled'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |