tbrehm
2009-07-05 abd9b232ad25496f8eeee6b133f27e44e068a7c5
Added openbasedir restriction to fcgi starter script.
1 files modified
6 ■■■■ changed files
server/conf/php-fcgi-starter.master 6 ●●●● patch | view | raw | blame | history
server/conf/php-fcgi-starter.master
@@ -7,4 +7,8 @@
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=<tmpl_var name='php_fcgi_max_requests'>
export PHP_FCGI_MAX_REQUESTS
exec <tmpl_var name='php_fcgi_bin'> $1
exec <tmpl_var name='php_fcgi_bin'> \
-d open_basedir=<tmpl_var name='document_root'> \
-d upload_tmp_dir=<tmpl_var name='document_root'>/tmp \
-d session.save_path=<tmpl_var name='document_root'>/tmp \
$1