#!/bin/sh PHPRC="" export PHPRC PHP_DOCUMENT_ROOT="" export PHP_DOCUMENT_ROOT # The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache # mod_fcgi will control the number of childs themself and never use the additional processes. # PHP_FCGI_CHILDREN= # export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS= export PHP_FCGI_MAX_REQUESTS export TMP=/tmp export TMPDIR=/tmp export TEMP=/tmp exec \ -d open_basedir="" \ -d upload_tmp_dir=/tmp \ -d session.save_path=/tmp \ -d sendmail_path="/usr/sbin/sendmail -t -i -f webmaster@" \ $1