From 0d2db5a97a483388c1e9ded61eb01e965f69dd41 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 28 Jan 2009 14:55:57 +0000
Subject: [PATCH] - ISPConfig's fcgi_starter script had two
 PHP_FCGI_MAX_REQUESTS variables; I removed one of them. In addition to that I
 added "-d magic_quotes_gpc=off" to the PHP executable to turn off
 magic_quotes_gpc.

---
 install/tpl/apache_ispconfig_fcgi_starter.master | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/install/tpl/apache_ispconfig_fcgi_starter.master b/install/tpl/apache_ispconfig_fcgi_starter.master
index 001ca6e172..7e774225a1 100644
--- a/install/tpl/apache_ispconfig_fcgi_starter.master
+++ b/install/tpl/apache_ispconfig_fcgi_starter.master
@@ -1,8 +1,6 @@
 #!/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
\ No newline at end of file
+exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
+export PHP_FCGI_MAX_REQUESTS=5000
+export PHP_FCGI_CHILDREN=8
\ No newline at end of file
-- 
GitLab