Welcome! Log In Create A New Profile

Advanced

custom system temp dir in php-fpm

Posted by lefoyer 
custom system temp dir in php-fpm
January 16, 2013 05:16AM
Пожалуйста проголосуйте за внедрение. Данная опция необходима для установки системной tmp директории внутрь open_basedir каждого пула.

Пример:
/etc/php5/fpm/pool.d/example.com.conf
[example.com]
include=/etc/php5/fpm/default

/etc/php5/fpm/default
php_admin_value[open_basedir] = /var/www/$pool/
php_admin_value[system_tmp_dir] = /var/www/$pool/tmp/

https://bugs.php.net/bug.php?id=60524&thanks=6
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready