/[packages]/backports/7/php/current/SOURCES/php-7.1-mga_php.ini.diff
ViewVC logotype

Diff of /backports/7/php/current/SOURCES/php-7.1-mga_php.ini.diff

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1639875 by mokraemer, Tue Jun 16 20:35:52 2020 UTC revision 1639876 by mokraemer, Tue Oct 27 19:26:11 2020 UTC
# Line 3  diff -r d2e64e9b292d php.ini-development Line 3  diff -r d2e64e9b292d php.ini-development
3  +++ b/php.ini-development       Fri Mar 20 18:23:03 2020 +0100  +++ b/php.ini-development       Fri Mar 20 18:23:03 2020 +0100
4  @@ -160,7 +160,7 @@  @@ -160,7 +160,7 @@
5   ;user_ini.filename = ".user.ini"   ;user_ini.filename = ".user.ini"
6    
7   ; To disable this feature set this option to an empty value   ; To disable this feature set this option to an empty value
8  -;user_ini.filename =  -;user_ini.filename =
9  +user_ini.filename =  +user_ini.filename =
10    
11   ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)   ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
12   ;user_ini.cache_ttl = 300   ;user_ini.cache_ttl = 300
13  @@ -184,7 +184,7 @@  @@ -184,7 +184,7 @@
# Line 16  diff -r d2e64e9b292d php.ini-development Line 16  diff -r d2e64e9b292d php.ini-development
16   ; http://php.net/short-open-tag   ; http://php.net/short-open-tag
17  -short_open_tag = Off  -short_open_tag = Off
18  +short_open_tag = On  +short_open_tag = On
19    
20   ; The number of significant digits displayed in floating point numbers.   ; The number of significant digits displayed in floating point numbers.
21   ; http://php.net/precision   ; http://php.net/precision
22  @@ -728,14 +728,9 @@  @@ -728,14 +728,9 @@
23   ; Paths and Directories ;   ; Paths and Directories ;
24   ;;;;;;;;;;;;;;;;;;;;;;;;;   ;;;;;;;;;;;;;;;;;;;;;;;;;
25    
26  -; UNIX: "/path1:/path2"  -; UNIX: "/path1:/path2"
27  -;include_path = ".:/php/includes"  -;include_path = ".:/php/includes"
28  -;  -;
# Line 32  diff -r d2e64e9b292d php.ini-development Line 32  diff -r d2e64e9b292d php.ini-development
32   ; PHP's default setting for include_path is ".;/path/to/php/pear"   ; PHP's default setting for include_path is ".;/path/to/php/pear"
33   ; http://php.net/include-path   ; http://php.net/include-path
34  +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"  +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"
35    
36   ; The root of the PHP pages, used only if nonempty.   ; The root of the PHP pages, used only if nonempty.
37   ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root   ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
38  @@ -754,7 +749,7 @@  @@ -754,7 +749,7 @@
# Line 41  diff -r d2e64e9b292d php.ini-development Line 41  diff -r d2e64e9b292d php.ini-development
41   ; On windows:   ; On windows:
42  -;extension_dir = "ext"  -;extension_dir = "ext"
43  +extension_dir = "/usr/lib/php/extensions"  +extension_dir = "/usr/lib/php/extensions"
44    
45   ; Directory where the temporary files should be placed.   ; Directory where the temporary files should be placed.
46   ; Defaults to the system default (see sys_get_temp_dir)   ; Defaults to the system default (see sys_get_temp_dir)
47  @@ -835,11 +830,11 @@  @@ -835,11 +830,11 @@
# Line 50  diff -r d2e64e9b292d php.ini-development Line 50  diff -r d2e64e9b292d php.ini-development
50   ; http://php.net/upload-tmp-dir   ; http://php.net/upload-tmp-dir
51  -;upload_tmp_dir =  -;upload_tmp_dir =
52  +upload_tmp_dir = /var/tmp  +upload_tmp_dir = /var/tmp
53    
54   ; Maximum allowed size for uploaded files.   ; Maximum allowed size for uploaded files.
55   ; http://php.net/upload-max-filesize   ; http://php.net/upload-max-filesize
56  -upload_max_filesize = 2M  -upload_max_filesize = 2M
57  +upload_max_filesize = 16M  +upload_max_filesize = 16M
58    
59   ; Maximum number of files that can be uploaded via a single request   ; Maximum number of files that can be uploaded via a single request
60   max_file_uploads = 20   max_file_uploads = 20
61  @@ -900,49 +895,10 @@  @@ -900,49 +895,10 @@
# Line 109  diff -r d2e64e9b292d php.ini-development Line 109  diff -r d2e64e9b292d php.ini-development
109  +; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.  +; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.
110  +; This is so that the RPMS can register themselves without having to  +; This is so that the RPMS can register themselves without having to
111  +; modify the php.ini file.  +; modify the php.ini file.
112    
113   ;;;;;;;;;;;;;;;;;;;   ;;;;;;;;;;;;;;;;;;;
114   ; Module Settings ;   ; Module Settings ;
115  @@ -1335,7 +1291,7 @@  @@ -1335,7 +1291,7 @@
# Line 118  diff -r d2e64e9b292d php.ini-development Line 118  diff -r d2e64e9b292d php.ini-development
118   ; http://php.net/session.save-path   ; http://php.net/session.save-path
119  -;session.save_path = "/tmp"  -;session.save_path = "/tmp"
120  +session.save_path = "/var/lib/php"  +session.save_path = "/var/lib/php"
121    
122   ; Whether to use strict session mode.   ; Whether to use strict session mode.
123   ; Strict session mode does not accept an uninitialized session ID, and   ; Strict session mode does not accept an uninitialized session ID, and
124  @@ -1401,7 +1357,12 @@  @@ -1401,7 +1357,12 @@
# Line 132  diff -r d2e64e9b292d php.ini-development Line 132  diff -r d2e64e9b292d php.ini-development
132  +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the  +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the
133  +; /etc/php.d/*_session.ini file.  +; /etc/php.d/*_session.ini file.
134  +session.gc_probability = 0  +session.gc_probability = 0
135    
136   ; Defines the probability that the 'garbage collection' process is started on every   ; Defines the probability that the 'garbage collection' process is started on every
137   ; session initialization. The probability is calculated by using gc_probability/gc_divisor,   ; session initialization. The probability is calculated by using gc_probability/gc_divisor,
138  @@ -1740,7 +1701,7 @@  @@ -1740,7 +1701,7 @@
139    
140   ; Sets the directory name where SOAP extension will put cache files.   ; Sets the directory name where SOAP extension will put cache files.
141   ; http://php.net/soap.wsdl-cache-dir   ; http://php.net/soap.wsdl-cache-dir
142  -soap.wsdl_cache_dir="/tmp"  -soap.wsdl_cache_dir="/tmp"
143  +soap.wsdl_cache_dir="/var/tmp"  +soap.wsdl_cache_dir="/var/tmp"
144    
145   ; (time to live) Sets the number of second while cached file will be used   ; (time to live) Sets the number of second while cached file will be used
146   ; instead of original one.   ; instead of original one.
147  diff -r d2e64e9b292d php.ini-production  diff -r d2e64e9b292d php.ini-production
# Line 149  diff -r d2e64e9b292d php.ini-production Line 149  diff -r d2e64e9b292d php.ini-production
149  +++ b/php.ini-production        Fri Mar 20 18:23:03 2020 +0100  +++ b/php.ini-production        Fri Mar 20 18:23:03 2020 +0100
150  @@ -160,7 +160,7 @@  @@ -160,7 +160,7 @@
151   ;user_ini.filename = ".user.ini"   ;user_ini.filename = ".user.ini"
152    
153   ; To disable this feature set this option to an empty value   ; To disable this feature set this option to an empty value
154  -;user_ini.filename =  -;user_ini.filename =
155  +user_ini.filename =  +user_ini.filename =
156    
157   ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)   ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
158   ;user_ini.cache_ttl = 300   ;user_ini.cache_ttl = 300
159  @@ -184,7 +184,7 @@  @@ -184,7 +184,7 @@
# Line 162  diff -r d2e64e9b292d php.ini-production Line 162  diff -r d2e64e9b292d php.ini-production
162   ; http://php.net/short-open-tag   ; http://php.net/short-open-tag
163  -short_open_tag = Off  -short_open_tag = Off
164  +short_open_tag = On  +short_open_tag = On
165    
166   ; The number of significant digits displayed in floating point numbers.   ; The number of significant digits displayed in floating point numbers.
167   ; http://php.net/precision   ; http://php.net/precision
 @@ -363,7 +363,7 @@  
   
  ; Allows to include or exclude arguments from stack traces generated for exceptions  
  ; Default: Off  
 -; In production, it is recommended to turn this setting on to prohibit the output  
 +; In production, it is recommended to turn this setting on to prohibit the output  
  ; of sensitive information in stack traces  
  zend.exception_ignore_args = On  
   
168  @@ -732,14 +732,9 @@  @@ -732,14 +732,9 @@
169   ; Paths and Directories ;   ; Paths and Directories ;
170   ;;;;;;;;;;;;;;;;;;;;;;;;;   ;;;;;;;;;;;;;;;;;;;;;;;;;
171    
172  -; UNIX: "/path1:/path2"  -; UNIX: "/path1:/path2"
173  -;include_path = ".:/php/includes"  -;include_path = ".:/php/includes"
174  -;  -;
# Line 187  diff -r d2e64e9b292d php.ini-production Line 178  diff -r d2e64e9b292d php.ini-production
178   ; PHP's default setting for include_path is ".;/path/to/php/pear"   ; PHP's default setting for include_path is ".;/path/to/php/pear"
179   ; http://php.net/include-path   ; http://php.net/include-path
180  +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"  +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"
181    
182   ; The root of the PHP pages, used only if nonempty.   ; The root of the PHP pages, used only if nonempty.
183   ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root   ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
184  @@ -758,7 +753,7 @@  @@ -758,7 +753,7 @@
# Line 196  diff -r d2e64e9b292d php.ini-production Line 187  diff -r d2e64e9b292d php.ini-production
187   ; On windows:   ; On windows:
188  -;extension_dir = "ext"  -;extension_dir = "ext"
189  +extension_dir = ""/usr/lib/php/extensions  +extension_dir = ""/usr/lib/php/extensions
190    
191   ; Directory where the temporary files should be placed.   ; Directory where the temporary files should be placed.
192   ; Defaults to the system default (see sys_get_temp_dir)   ; Defaults to the system default (see sys_get_temp_dir)
193  @@ -839,11 +834,11 @@  @@ -839,11 +834,11 @@
# Line 205  diff -r d2e64e9b292d php.ini-production Line 196  diff -r d2e64e9b292d php.ini-production
196   ; http://php.net/upload-tmp-dir   ; http://php.net/upload-tmp-dir
197  -;upload_tmp_dir =  -;upload_tmp_dir =
198  +upload_tmp_dir = /var/tmp  +upload_tmp_dir = /var/tmp
199    
200   ; Maximum allowed size for uploaded files.   ; Maximum allowed size for uploaded files.
201   ; http://php.net/upload-max-filesize   ; http://php.net/upload-max-filesize
202  -upload_max_filesize = 2M  -upload_max_filesize = 2M
203  +upload_max_filesize = 16M  +upload_max_filesize = 16M
204    
205   ; Maximum number of files that can be uploaded via a single request   ; Maximum number of files that can be uploaded via a single request
206   max_file_uploads = 20   max_file_uploads = 20
207  @@ -904,49 +899,10 @@  @@ -904,49 +899,10 @@
# Line 264  diff -r d2e64e9b292d php.ini-production Line 255  diff -r d2e64e9b292d php.ini-production
255  +; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.  +; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.
256  +; This is so that the RPMS can register themselves without having to  +; This is so that the RPMS can register themselves without having to
257  +; modify the php.ini file.  +; modify the php.ini file.
258    
259   ;;;;;;;;;;;;;;;;;;;   ;;;;;;;;;;;;;;;;;;;
260   ; Module Settings ;   ; Module Settings ;
261  @@ -1339,7 +1295,7 @@  @@ -1339,7 +1295,7 @@
# Line 273  diff -r d2e64e9b292d php.ini-production Line 264  diff -r d2e64e9b292d php.ini-production
264   ; http://php.net/session.save-path   ; http://php.net/session.save-path
265  -;session.save_path = "/tmp"  -;session.save_path = "/tmp"
266  +session.save_path = "/var/lib/php"  +session.save_path = "/var/lib/php"
267    
268   ; Whether to use strict session mode.   ; Whether to use strict session mode.
269   ; Strict session mode does not accept an uninitialized session ID, and   ; Strict session mode does not accept an uninitialized session ID, and
270  @@ -1405,7 +1361,12 @@  @@ -1405,7 +1361,12 @@
# Line 287  diff -r d2e64e9b292d php.ini-production Line 278  diff -r d2e64e9b292d php.ini-production
278  +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the  +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the
279  +; /etc/php.d/*_session.ini file.  +; /etc/php.d/*_session.ini file.
280  +session.gc_probability = 0  +session.gc_probability = 0
281    
282   ; Defines the probability that the 'garbage collection' process is started on every   ; Defines the probability that the 'garbage collection' process is started on every
283   ; session initialization. The probability is calculated by using gc_probability/gc_divisor,   ; session initialization. The probability is calculated by using gc_probability/gc_divisor,
284  @@ -1742,7 +1703,7 @@  @@ -1742,7 +1703,7 @@
285    
286   ; Sets the directory name where SOAP extension will put cache files.   ; Sets the directory name where SOAP extension will put cache files.
287   ; http://php.net/soap.wsdl-cache-dir   ; http://php.net/soap.wsdl-cache-dir
288  -soap.wsdl_cache_dir="/tmp"  -soap.wsdl_cache_dir="/tmp"
289  +soap.wsdl_cache_dir="/var/tmp"  +soap.wsdl_cache_dir="/var/tmp"
290    
291   ; (time to live) Sets the number of second while cached file will be used   ; (time to live) Sets the number of second while cached file will be used
292   ; instead of original one.   ; instead of original one.

Legend:
Removed from v.1639875  
changed lines
  Added in v.1639876

  ViewVC Help
Powered by ViewVC 1.1.30