Pascal Dreissen
2016-07-08 a481a62a13c241df0b3269f7f915789f4451d51b
commit | author | age
dbb5b8 1 #!/bin/sh
D 2 PHPRC="<tmpl_var name='php_ini_path'>"
3 export PHPRC
4 PHP_DOCUMENT_ROOT="<tmpl_var name='document_root'>"
5 export PHP_DOCUMENT_ROOT
386d5b 6 # The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache 
T 7 # mod_fcgi will control the number of childs themself and never use the additional processes.
8 # PHP_FCGI_CHILDREN=<tmpl_var name='php_fcgi_children'>
9 # export PHP_FCGI_CHILDREN
dbb5b8 10 PHP_FCGI_MAX_REQUESTS=<tmpl_var name='php_fcgi_max_requests'>
D 11 export PHP_FCGI_MAX_REQUESTS
61bd1f 12 export TMP=<tmpl_var name='document_root'>/tmp
FT 13 export TMPDIR=<tmpl_var name='document_root'>/tmp
14 export TEMP=<tmpl_var name='document_root'>/tmp
abd9b2 15 exec <tmpl_var name='php_fcgi_bin'> \
c8cf71 16 <tmpl_if name="security_level" op="==" value="20"> -d open_basedir="<tmpl_var name='open_basedir'>" \
ee6dde 17 -d disable_functions="" \
NH 18 -d suhosin.executor.func.blacklist="" \
abd9b2 19 -d upload_tmp_dir=<tmpl_var name='document_root'>/tmp \
T 20 -d session.save_path=<tmpl_var name='document_root'>/tmp \
a538a1 21 -d sendmail_path="/usr/sbin/sendmail -t -i -f webmaster@<tmpl_var name='domain'>" \
6fb602 22 </tmpl_if> $1