SOURCES: php-ini.patch - disable long arrays for auto_globals_jit ...
glen
glen at pld-linux.org
Mon Dec 19 19:12:12 CET 2005
Author: glen Date: Mon Dec 19 18:12:11 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- disable long arrays for auto_globals_jit to work (performance)
- disable allow_url_fopen (security)
---- Files affected:
SOURCES:
php-ini.patch (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SOURCES/php-ini.patch
diff -u SOURCES/php-ini.patch:1.18 SOURCES/php-ini.patch:1.19
--- SOURCES/php-ini.patch:1.18 Mon Dec 19 19:05:50 2005
+++ SOURCES/php-ini.patch Mon Dec 19 19:12:06 2005
@@ -212,3 +212,23 @@
; When enabled, the SERVER and ENV variables are created when they're first
; used (Just In Time) instead of when the script starts. If these variables
+--- php-5.1.1/php.ini~ 2005-12-19 20:04:03.000000000 +0200
++++ php-5.1.1/php.ini 2005-12-19 20:08:54.000000000 +0200
+@@ -460,7 +460,7 @@
+ ; 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
+@@ -588,7 +588,7 @@
+ ;;;;;;;;;;;;;;;;;;
+
+ ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
+-allow_url_fopen = On
++allow_url_fopen = Off
+
+ ; Define the anonymous ftp password (your email address)
+ ;from="john at doe.com"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/php-ini.patch?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list