SOURCES: php-ini.patch - disable html errors in errorlog

glen glen at pld-linux.org
Tue Oct 10 16:01:41 CEST 2006


Author: glen                         Date: Tue Oct 10 14:01:41 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- disable html errors in errorlog

---- Files affected:
SOURCES:
   php-ini.patch (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SOURCES/php-ini.patch
diff -u SOURCES/php-ini.patch:1.21 SOURCES/php-ini.patch:1.22
--- SOURCES/php-ini.patch:1.21	Tue Sep 26 11:55:46 2006
+++ SOURCES/php-ini.patch	Tue Oct 10 16:01:36 2006
@@ -1,5 +1,5 @@
---- php-5.1.6/php.ini~	2006-09-26 12:52:32.871369095 +0300
-+++ php-5.1.6/php.ini	2006-09-26 12:50:19.858375000 +0300
+--- php-5.1.6/php.ini	2006-09-26 12:50:19.858375000 +0300
++++ php-5.1.6/php.ini	2006-10-10 17:00:44.427176439 +0300
 @@ -3,13 +3,18 @@
  ;;;;;;;;;;;
  ; WARNING ;
@@ -26,8 +26,7 @@
  
  ;;;;;;;;;;;;;;;;;;;
  ; About php.ini   ;
-@@ -59,10 +64,72 @@
- ;;;;;;;;;;;;;;;;;;;
+@@ -60,9 +65,71 @@
  ; About this file ;
  ;;;;;;;;;;;;;;;;;;;
 -; All the values in the php.ini-dist file correspond to the builtin
@@ -36,7 +35,7 @@
 +; If you use constants in your value, and these constants belong to a
 +; dynamically loaded extension (either a PHP extension or a Zend extension),
 +; you may only use these constants *after* the line that loads the extension.
-+
+ 
  
 +; Below is the list of settings changed from default as specified in
 +; php.ini-recommended. These settings make PHP more secure and encourage
@@ -99,7 +98,7 @@
 +;     It's not possible to decide to force a variable to be passed by reference
 +;     when calling a function.  The PHP 4 style to do this is by making the
 +;     function require the relevant argument by reference.
- 
++
  ;;;;;;;;;;;;;;;;;;;;
  ; Language Options ;
 @@ -86,7 +153,7 @@
@@ -139,6 +138,15 @@
  
  ; Set maximum length of log_errors. In error_log information about the source is
  ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
+@@ -341,7 +410,7 @@
+ 
+ ; Disable the inclusion of HTML tags in error messages.
+ ; Note: Never use this feature for production boxes.
+-;html_errors = Off
++html_errors = Off
+ 
+ ; If html_errors is set On PHP produces clickable error messages that direct
+ ; to a page describing the error or function causing the error in detail.
 @@ -385,7 +454,7 @@
  ; Environment and Built-in variables (G, P, C, E & S respectively, often
  ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-ini.patch?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list