]> git.pld-linux.org Git - packages/php.git/commitdiff
- how come it's no security threat it it exposes PHP version. (disabled expose_php)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 2 Nov 2006 23:29:13 +0000 (23:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-ini.patch -> 1.24

php-ini.patch

index 21d9d737052b1a80678da1654135e65a6ef2a66d..5b4a861a375d8c5c2f66645b2a13ca8944e38128 100644 (file)
@@ -1,5 +1,5 @@
---- php-5.2.0/php.ini-dist     2006-10-14 18:06:11.000000000 +0300
-+++ php-5.2.0/php.ini  2006-11-03 00:23:42.665401441 +0200
+--- php-5.2.0/php.ini  2006-11-03 00:23:42.665401441 +0200
++++ php-5.2.0/php.ini  2006-11-03 01:27:56.372110952 +0200
 @@ -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 @@
  
  ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  y2k_compliance = On
+@@ -245,7 +312,7 @@
+ ; (e.g. by adding its signature to the Web server header).  It is no security
+ ; threat in any way, but it makes it possible to determine whether you use PHP
+ ; on your server or not.
+-expose_php = On
++expose_php = Off
+ ;;;;;;;;;;;;;;;;;;;
 @@ -301,14 +368,16 @@
  ;
  ;   - Show all errors except for notices and coding standards warnings
This page took 0.048657 seconds and 4 git commands to generate.