Initial
This commit is contained in:
13
install/rpm/php-fpm/dummy.conf
Normal file
13
install/rpm/php-fpm/dummy.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
; origin-src: rhel/php-fpm/dummy.conf
|
||||
|
||||
[www]
|
||||
listen = 127.0.0.1:9999
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = apache
|
||||
group = apache
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 4
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
26
install/rpm/php-fpm/multiphp.tpl
Normal file
26
install/rpm/php-fpm/multiphp.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
; origin-src: rhel/php-fpm/multiphp.tpl
|
||||
|
||||
[%domain%]
|
||||
listen = /run/php%backend_version%-fpm-%domain%.sock
|
||||
listen.owner = %user%
|
||||
listen.group = apache
|
||||
listen.mode = 0660
|
||||
|
||||
user = %user%
|
||||
group = %user%
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 8
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
pm.status_path = /status
|
||||
|
||||
php_admin_value[upload_tmp_dir] = /home/%user%/tmp
|
||||
php_admin_value[session.save_path] = /home/%user%/tmp
|
||||
php_admin_value[open_basedir] = /home/%user%/.composer:/home/%user%/web/%domain%/public_html:/home/%user%/web/%domain%/public_shtml:/home/%user%/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt
|
||||
php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f admin@%domain%
|
||||
|
||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
env[TMP] = /home/%user%/tmp
|
||||
env[TMPDIR] = /home/%user%/tmp
|
||||
env[TEMP] = /home/%user%/tmp
|
||||
13
install/rpm/php-fpm/www.conf
Normal file
13
install/rpm/php-fpm/www.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
; origin-src: rhel/php-fpm/www.conf
|
||||
|
||||
[www]
|
||||
listen = 127.0.0.1:9000
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = apache
|
||||
group = apache
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 4
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
Reference in New Issue
Block a user