# grep -rl PHP_FCGI_MAX_REQUESTS /var/www/php-fcgi-scripts -R | xargs sed -i 's/PHP_FCGI_MAX_REQUESTS=5000/PHP_FCGI_MAX_REQUESTS=500/g'