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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1639876 - (show annotations) (download)
Tue Oct 27 19:26:11 2020 UTC (3 years, 7 months ago) by mokraemer
File size: 9329 byte(s)
rediff
1 diff -r d2e64e9b292d php.ini-development
2 --- a/php.ini-development Fri Mar 20 18:19:27 2020 +0100
3 +++ b/php.ini-development Fri Mar 20 18:23:03 2020 +0100
4 @@ -160,7 +160,7 @@
5 ;user_ini.filename = ".user.ini"
6
7 ; To disable this feature set this option to an empty value
8 -;user_ini.filename =
9 +user_ini.filename =
10
11 ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
12 ;user_ini.cache_ttl = 300
13 @@ -184,7 +184,7 @@
14 ; Development Value: Off
15 ; Production Value: Off
16 ; http://php.net/short-open-tag
17 -short_open_tag = Off
18 +short_open_tag = On
19
20 ; The number of significant digits displayed in floating point numbers.
21 ; http://php.net/precision
22 @@ -728,14 +728,9 @@
23 ; Paths and Directories ;
24 ;;;;;;;;;;;;;;;;;;;;;;;;;
25
26 -; UNIX: "/path1:/path2"
27 -;include_path = ".:/php/includes"
28 -;
29 -; Windows: "\path1;\path2"
30 -;include_path = ".;c:\php\includes"
31 -;
32 ; PHP's default setting for include_path is ".;/path/to/php/pear"
33 ; http://php.net/include-path
34 +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"
35
36 ; The root of the PHP pages, used only if nonempty.
37 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
38 @@ -754,7 +749,7 @@
39 ; http://php.net/extension-dir
40 ;extension_dir = "./"
41 ; On windows:
42 -;extension_dir = "ext"
43 +extension_dir = "/usr/lib/php/extensions"
44
45 ; Directory where the temporary files should be placed.
46 ; Defaults to the system default (see sys_get_temp_dir)
47 @@ -835,11 +830,11 @@
48 ; Temporary directory for HTTP uploaded files (will use system default if not
49 ; specified).
50 ; http://php.net/upload-tmp-dir
51 -;upload_tmp_dir =
52 +upload_tmp_dir = /var/tmp
53
54 ; Maximum allowed size for uploaded files.
55 ; http://php.net/upload-max-filesize
56 -upload_max_filesize = 2M
57 +upload_max_filesize = 16M
58
59 ; Maximum number of files that can be uploaded via a single request
60 max_file_uploads = 20
61 @@ -900,49 +895,10 @@
62 ; deprecated in a future PHP major version. So, when it is possible, please
63 ; move to the new ('extension=<ext>) syntax.
64 ;
65 -; Notes for Windows environments :
66 -;
67 -; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
68 -; extension folders as well as the separate PECL DLL download (PHP 5+).
69 -; Be sure to appropriately set the extension_dir directive.
70 -;
71 -;extension=bz2
72 -;extension=curl
73 -;extension=ffi
74 -;extension=ftp
75 -;extension=fileinfo
76 -;extension=gd2
77 -;extension=gettext
78 -;extension=gmp
79 -;extension=intl
80 -;extension=imap
81 -;extension=ldap
82 -;extension=mbstring
83 -;extension=exif ; Must be after mbstring as it depends on it
84 -;extension=mysqli
85 -;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
86 -;extension=odbc
87 -;extension=openssl
88 -;extension=pdo_firebird
89 -;extension=pdo_mysql
90 -;extension=pdo_oci
91 -;extension=pdo_odbc
92 -;extension=pdo_pgsql
93 -;extension=pdo_sqlite
94 -;extension=pgsql
95 -;extension=shmop
96 -
97 -; The MIBS data available in the PHP distribution must be installed.
98 -; See http://www.php.net/manual/en/snmp.installation.php
99 -;extension=snmp
100 -
101 -;extension=soap
102 -;extension=sockets
103 -;extension=sodium
104 -;extension=sqlite3
105 -;extension=tidy
106 -;extension=xmlrpc
107 -;extension=xsl
108 +; In Mageia, we don't add the extensions in php.ini anymore, we put
109 +; 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
111 +; modify the php.ini file.
112
113 ;;;;;;;;;;;;;;;;;;;
114 ; Module Settings ;
115 @@ -1335,7 +1291,7 @@
116 ; where MODE is the octal representation of the mode. Note that this
117 ; does not overwrite the process's umask.
118 ; http://php.net/session.save-path
119 -;session.save_path = "/tmp"
120 +session.save_path = "/var/lib/php"
121
122 ; Whether to use strict session mode.
123 ; Strict session mode does not accept an uninitialized session ID, and
124 @@ -1401,7 +1357,12 @@
125 ; Development Value: 1
126 ; Production Value: 1
127 ; http://php.net/session.gc-probability
128 -session.gc_probability = 1
129 +
130 +; This is disabled in the Mageia Linux packages, due to the strict permissions
131 +; on /var/lib/php. Instead of setting this here, see the cronjob at
132 +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the
133 +; /etc/php.d/*_session.ini file.
134 +session.gc_probability = 0
135
136 ; 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,
138 @@ -1740,7 +1701,7 @@
139
140 ; Sets the directory name where SOAP extension will put cache files.
141 ; http://php.net/soap.wsdl-cache-dir
142 -soap.wsdl_cache_dir="/tmp"
143 +soap.wsdl_cache_dir="/var/tmp"
144
145 ; (time to live) Sets the number of second while cached file will be used
146 ; instead of original one.
147 diff -r d2e64e9b292d php.ini-production
148 --- a/php.ini-production Fri Mar 20 18:19:27 2020 +0100
149 +++ b/php.ini-production Fri Mar 20 18:23:03 2020 +0100
150 @@ -160,7 +160,7 @@
151 ;user_ini.filename = ".user.ini"
152
153 ; To disable this feature set this option to an empty value
154 -;user_ini.filename =
155 +user_ini.filename =
156
157 ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
158 ;user_ini.cache_ttl = 300
159 @@ -184,7 +184,7 @@
160 ; Development Value: Off
161 ; Production Value: Off
162 ; http://php.net/short-open-tag
163 -short_open_tag = Off
164 +short_open_tag = On
165
166 ; The number of significant digits displayed in floating point numbers.
167 ; http://php.net/precision
168 @@ -732,14 +732,9 @@
169 ; Paths and Directories ;
170 ;;;;;;;;;;;;;;;;;;;;;;;;;
171
172 -; UNIX: "/path1:/path2"
173 -;include_path = ".:/php/includes"
174 -;
175 -; Windows: "\path1;\path2"
176 -;include_path = ".;c:\php\includes"
177 -;
178 ; PHP's default setting for include_path is ".;/path/to/php/pear"
179 ; http://php.net/include-path
180 +include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"
181
182 ; The root of the PHP pages, used only if nonempty.
183 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
184 @@ -758,7 +753,7 @@
185 ; http://php.net/extension-dir
186 ;extension_dir = "./"
187 ; On windows:
188 -;extension_dir = "ext"
189 +extension_dir = ""/usr/lib/php/extensions
190
191 ; Directory where the temporary files should be placed.
192 ; Defaults to the system default (see sys_get_temp_dir)
193 @@ -839,11 +834,11 @@
194 ; Temporary directory for HTTP uploaded files (will use system default if not
195 ; specified).
196 ; http://php.net/upload-tmp-dir
197 -;upload_tmp_dir =
198 +upload_tmp_dir = /var/tmp
199
200 ; Maximum allowed size for uploaded files.
201 ; http://php.net/upload-max-filesize
202 -upload_max_filesize = 2M
203 +upload_max_filesize = 16M
204
205 ; Maximum number of files that can be uploaded via a single request
206 max_file_uploads = 20
207 @@ -904,49 +899,10 @@
208 ; deprecated in a future PHP major version. So, when it is possible, please
209 ; move to the new ('extension=<ext>) syntax.
210 ;
211 -; Notes for Windows environments :
212 -;
213 -; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
214 -; extension folders as well as the separate PECL DLL download (PHP 5+).
215 -; Be sure to appropriately set the extension_dir directive.
216 -;
217 -;extension=bz2
218 -;extension=curl
219 -;extension=ffi
220 -;extension=ftp
221 -;extension=fileinfo
222 -;extension=gd2
223 -;extension=gettext
224 -;extension=gmp
225 -;extension=intl
226 -;extension=imap
227 -;extension=ldap
228 -;extension=mbstring
229 -;extension=exif ; Must be after mbstring as it depends on it
230 -;extension=mysqli
231 -;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
232 -;extension=odbc
233 -;extension=openssl
234 -;extension=pdo_firebird
235 -;extension=pdo_mysql
236 -;extension=pdo_oci
237 -;extension=pdo_odbc
238 -;extension=pdo_pgsql
239 -;extension=pdo_sqlite
240 -;extension=pgsql
241 -;extension=shmop
242 -
243 -; The MIBS data available in the PHP distribution must be installed.
244 -; See http://www.php.net/manual/en/snmp.installation.php
245 -;extension=snmp
246 -
247 -;extension=soap
248 -;extension=sockets
249 -;extension=sodium
250 -;extension=sqlite3
251 -;extension=tidy
252 -;extension=xmlrpc
253 -;extension=xsl
254 +; In Mageia, we don't add the extensions in php.ini anymore, we put
255 +; 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
257 +; modify the php.ini file.
258
259 ;;;;;;;;;;;;;;;;;;;
260 ; Module Settings ;
261 @@ -1339,7 +1295,7 @@
262 ; where MODE is the octal representation of the mode. Note that this
263 ; does not overwrite the process's umask.
264 ; http://php.net/session.save-path
265 -;session.save_path = "/tmp"
266 +session.save_path = "/var/lib/php"
267
268 ; Whether to use strict session mode.
269 ; Strict session mode does not accept an uninitialized session ID, and
270 @@ -1405,7 +1361,12 @@
271 ; Development Value: 1
272 ; Production Value: 1
273 ; http://php.net/session.gc-probability
274 -session.gc_probability = 1
275 +
276 +; This is disabled in the Mageia Linux packages, due to the strict permissions
277 +; on /var/lib/php. Instead of setting this here, see the cronjob at
278 +; /etc/cron.d/php, which uses the session.gc_maxlifetime settings from the
279 +; /etc/php.d/*_session.ini file.
280 +session.gc_probability = 0
281
282 ; 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,
284 @@ -1742,7 +1703,7 @@
285
286 ; Sets the directory name where SOAP extension will put cache files.
287 ; http://php.net/soap.wsdl-cache-dir
288 -soap.wsdl_cache_dir="/tmp"
289 +soap.wsdl_cache_dir="/var/tmp"
290
291 ; (time to live) Sets the number of second while cached file will be used
292 ; instead of original one.

  ViewVC Help
Powered by ViewVC 1.1.30