mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-23 14:00:24 -08:00
25 lines
536 B
Smarty
25 lines
536 B
Smarty
[%backend%]
|
|
listen = /var/run/php/%backend%.sock
|
|
listen.allowed_clients = 127.0.0.1
|
|
|
|
user = %user%
|
|
group = %user%
|
|
|
|
listen.owner = %user%
|
|
listen.group = www-data
|
|
|
|
pm = ondemand
|
|
pm.max_children = 4
|
|
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
|
|
|
|
env[HOSTNAME] = $HOSTNAME
|
|
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
|
env[TMP] = /home/%user%/tmp
|
|
env[TMPDIR] = /home/%user%/tmp
|
|
env[TEMP] = /home/%user%/tmp
|