SOURCES: php-ini.patch, php-cli.ini - register_argc_argv only for CLI
glen
glen at pld-linux.org
Mon Dec 19 19:05:55 CET 2005
Author: glen Date: Mon Dec 19 18:05:55 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- register_argc_argv only for CLI
---- Files affected:
SOURCES:
php-ini.patch (1.17 -> 1.18) , php-cli.ini (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/php-ini.patch
diff -u SOURCES/php-ini.patch:1.17 SOURCES/php-ini.patch:1.18
--- SOURCES/php-ini.patch:1.17 Mon Dec 19 19:03:25 2005
+++ SOURCES/php-ini.patch Mon Dec 19 19:05:50 2005
@@ -201,3 +201,14 @@
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
+--- php-5.1.1/php.ini~ 2005-12-19 20:01:09.000000000 +0200
++++ php-5.1.1/php.ini 2005-12-19 20:04:03.000000000 +0200
+@@ -465,7 +465,7 @@
+ ; 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
+ ; should turn it off for increased performance.
+-register_argc_argv = On
++register_argc_argv = Off
+
+ ; 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
================================================================
Index: SOURCES/php-cli.ini
diff -u SOURCES/php-cli.ini:1.1 SOURCES/php-cli.ini:1.2
--- SOURCES/php-cli.ini:1.1 Sat Jan 4 21:39:43 2003
+++ SOURCES/php-cli.ini Mon Dec 19 19:05:50 2005
@@ -7,6 +7,12 @@
; and override some settings in SAPI-specific files without need of
; copying whole large php.ini.
+[PHP]
+; 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
+; should turn it off for increased performance.
+register_argc_argv = On
+
[Session]
session.save_path = /tmp ; argument passed to save_handler
; in the case of files, this is the
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/php-ini.patch?r1=1.17&r2=1.18&f=u
http://cvs.pld-linux.org/SOURCES/php-cli.ini?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list