#!/bin/sh PHPRC=/etc/php5/cgi/ export PHPRC exec /usr/lib/cgi-bin/php PHP_FCGI_MAX_REQUESTS=5000 export PHP_FCGI_MAX_REQUESTS export PHP_FCGI_CHILDREN=8 export PHP_FCGI_MAX_REQUESTS=500