#!/bin/sh # Set desired PHP_FCGI_* environment variables. # Example: # PHP FastCGI processes exit after 500 requests by default. # If you want to have seperate php.ini for a userdir setup, uncomment the line # below and change it accordingly # export PHPRC=/home/yourusername #The path of your php.ini PHP_FCGI_CHILDREN=3 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=500 export PHP_FCGI_MAX_REQUESTS # Replace with the path to your FastCGI-enabled PHP executable # If you've installed APC, you will need to comment out the current # exec line and uncomment out the last one. umask 0022 exec /usr/bin/php-cgi #exec /usr/bin/php-cgi -d apc.shm_size=25