# MAJ 15/03/2012 # MAJ 20/07/2013 : Ajout PHP 5.5 PHP_FCGI_CHILDREN=5 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=200000 export PHP_FCGI_MAX_REQUESTS if [ -f /php52.enabled ]; then if [ -d /php5 ]; then export PHPRC="/php5/" exec /opt/php52/bin/php-cgi else export PHPRC="/opt/php52/conf/" exec /opt/php52/bin/php-cgi fi fi if [ -f /php54.enabled ]; then if [ -d /php5 ]; then export PHPRC="/php5/" exec /opt/php54/bin/php-cgi else export PHPRC="/opt/php54/conf/" exec /opt/php54/bin/php-cgi fi fi if [ -f /php55.enabled ]; then if [ -d /php5 ]; then export PHPRC="/php5/" exec /opt/php55/bin/php-cgi else export PHPRC="/opt/php55/conf/" exec /opt/php55/bin/php-cgi fi fi if [ -d /php5 ]; then export PHPRC="/php5/" else export PHPRC="/opt/php53/conf/" fi #ulimit -n 65535 exec /usr/bin/php5-cgi #/cgi-bin/env