Skip to content
Snippets Groups Projects
Commit abd9b232 authored by tbrehm's avatar tbrehm
Browse files

Added openbasedir restriction to fcgi starter script.

parent d77bc7ae
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,8 @@ PHP_FCGI_CHILDREN=<tmpl_var name='php_fcgi_children'>
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
\ No newline at end of file
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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment