[Pkg-php-commits] [php/debian-sid] Add patch with changes to php.ini to be more compatible, but leave it desabled

Raphael Geissert geissert at debian.org
Sun Feb 7 23:17:14 UTC 2010


---
 debian/patches/php.ini-compatibility.patch |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/php.ini-compatibility.patch

diff --git a/debian/patches/php.ini-compatibility.patch b/debian/patches/php.ini-compatibility.patch
new file mode 100644
index 0000000..bb838f2
--- /dev/null
+++ b/debian/patches/php.ini-compatibility.patch
@@ -0,0 +1,28 @@
+Description: Change the default php.ini settings to be more compatible
+ with older releases.
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2010-01-19
+
+Index: php/php.ini-production
+===================================================================
+--- php.orig/php.ini-production
++++ php/php.ini-production
+@@ -223,7 +223,7 @@ engine = On
+ ; Development Value: Off
+ ; Production Value: Off
+ ; http://php.net/short-open-tag
+-short_open_tag = Off
++short_open_tag = On
+ 
+ ; Allow ASP-style <% %> tags.
+ ; http://php.net/asp-tags
+@@ -679,7 +679,7 @@ variables_order = "GPCS"
+ ; Development Value: "GP"
+ ; Production Value: "GP"
+ ; http://php.net/request-order
+-request_order = "GP"
++request_order = "GPC"
+ 
+ ; Whether or not to register the EGPCS variables as global variables.  You may
+ ; want to turn this off if you don't want to clutter your scripts' global scope
-- 
1.6.3.3





More information about the Pkg-php-commits mailing list