From 20066b46f6da4cee698332094f0e90d55c5fef2d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 16 Feb 2011 22:39:48 -0200 Subject: Turning off magic_quotes_gpc and register_long_arrays --- files/apache2/php.ini | 4 ++-- files/cli/php.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/apache2/php.ini b/files/apache2/php.ini index f0fe032..aadb6b3 100644 --- a/files/apache2/php.ini +++ b/files/apache2/php.ini @@ -433,7 +433,7 @@ register_globals = Off ; Whether or not to register the old-style input arrays, HTTP_GET_VARS ; and friends. If you're not using them, it's recommended to turn them off, ; for performance reasons. -register_long_arrays = On +register_long_arrays = Off ; This directive tells PHP whether to declare the argv&argc variables (that ; would contain the GET information). If you don't use these variables, you @@ -454,7 +454,7 @@ post_max_size = 100M ; ; Magic quotes for incoming GET/POST/Cookie data. -magic_quotes_gpc = On +magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off diff --git a/files/cli/php.ini b/files/cli/php.ini index c282aae..d647f5c 100644 --- a/files/cli/php.ini +++ b/files/cli/php.ini @@ -433,7 +433,7 @@ register_globals = Off ; Whether or not to register the old-style input arrays, HTTP_GET_VARS ; and friends. If you're not using them, it's recommended to turn them off, ; for performance reasons. -register_long_arrays = On +register_long_arrays = Off ; This directive tells PHP whether to declare the argv&argc variables (that ; would contain the GET information). If you don't use these variables, you @@ -454,7 +454,7 @@ post_max_size = 100M ; ; Magic quotes for incoming GET/POST/Cookie data. -magic_quotes_gpc = On +magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off -- cgit v1.2.3