質問編集履歴

1

php.ini差分情報の追加

2015/05/27 06:01

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -173,3 +173,365 @@
173
173
  長文となりましたが、
174
174
 
175
175
  どうぞよろしくお願いいたします。
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ 追加情報①php.iniの差分
184
+
185
+ ```lang-memo
186
+
187
+ < ; The syntax of the file is extremely simple. Whitespace and Lines
188
+
189
+ ---
190
+
191
+ > ; The syntax of the file is extremely simple. Whitespace and lines
192
+
193
+ 85a86,87
194
+
195
+ > ; This is php.ini-production INI file.
196
+
197
+ >
198
+
199
+ 139,148d140
200
+
201
+ < ; session.bug_compat_42
202
+
203
+ < ; Default Value: On
204
+
205
+ < ; Development Value: On
206
+
207
+ < ; Production Value: Off
208
+
209
+ <
210
+
211
+ < ; session.bug_compat_warn
212
+
213
+ < ; Default Value: On
214
+
215
+ < ; Development Value: On
216
+
217
+ < ; Production Value: Off
218
+
219
+ <
220
+
221
+ 200,206c192,197
222
+
223
+ < ; <? and ?> tags as PHP source which should be processed as such. It's been
224
+
225
+ < ; recommended for several years that you not use the short tag "short cut" and
226
+
227
+ < ; instead to use the full <?php and ?> tag combination. With the wide spread use
228
+
229
+ < ; of XML and use of these tags by other languages, the server can become easily
230
+
231
+ < ; confused and end up parsing the wrong code in the wrong context. But because
232
+
233
+ < ; this short cut has been a feature for such a long time, it's currently still
234
+
235
+ < ; supported for backwards compatibility, but we recommend you don't use them.
236
+
237
+ ---
238
+
239
+ > ; <? and ?> tags as PHP source which should be processed as such. It is
240
+
241
+ > ; generally recommended that <?php and ?> should be used and that this feature
242
+
243
+ > ; should be disabled, as enabling it may result in issues when generating XML
244
+
245
+ > ; documents, however this remains supported for backward compatibility reasons.
246
+
247
+ > ; Note that this directive does not control the <?= shorthand tag, which can be
248
+
249
+ > ; used regardless of this directive.
250
+
251
+ 375c366
252
+
253
+ < expose_php = On
254
+
255
+ ---
256
+
257
+ > expose_php = Off
258
+
259
+ 427c418
260
+
261
+ < ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
262
+
263
+ ---
264
+
265
+ > ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
266
+
267
+ 585c576
268
+
269
+ < ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
270
+
271
+ ---
272
+
273
+ > ; Log errors to syslog (Event Log on Windows).
274
+
275
+ 731a723,726
276
+
277
+ > ; Directory where the temporary files should be placed.
278
+
279
+ > ; Defaults to the system default (see sys_get_temp_dir)
280
+
281
+ > ; sys_temp_dir = "/tmp"
282
+
283
+ >
284
+
285
+ 754c749
286
+
287
+ < ;cgi.redirect_status_env = ;
288
+
289
+ ---
290
+
291
+ > ;cgi.redirect_status_env =
292
+
293
+ 771c766
294
+
295
+ < ;fastcgi.impersonate = 1;
296
+
297
+ ---
298
+
299
+ > ;fastcgi.impersonate = 1
300
+
301
+ 800d794
302
+
303
+ < ;upload_max_filesize = 2M
304
+
305
+ 958,967d951
306
+
307
+ < ; For Win32 only.
308
+
309
+ < ; http://php.net/smtp
310
+
311
+ < SMTP = localhost
312
+
313
+ < ; http://php.net/smtp-port
314
+
315
+ < smtp_port = 25
316
+
317
+ <
318
+
319
+ < ; For Win32 only.
320
+
321
+ < ; http://php.net/sendmail-from
322
+
323
+ < ;sendmail_from = me@example.com
324
+
325
+ <
326
+
327
+ 982a967,968
328
+
329
+ > ; Log mail to syslog (Event Log on Windows).
330
+
331
+ > ;mail.log = syslog
332
+
333
+ 1354c1340,1352
334
+
335
+ < session.save_path = "/var/lib/php/session"
336
+
337
+ ---
338
+
339
+ >
340
+
341
+ > ; RPM note : session directory must be owned by process owner
342
+
343
+ > ; for mod_php, see /etc/httpd/conf.d/php.conf
344
+
345
+ > ; for php-fpm, see /etc/php-fpm.d/*conf
346
+
347
+ > ;session.save_path = "/tmp"
348
+
349
+ >
350
+
351
+ > ; Whether to use strict session mode.
352
+
353
+ > ; Strict session mode does not accept uninitialized session ID and regenerate
354
+
355
+ > ; session ID if browser sends uninitialized session ID. Strict mode protects
356
+
357
+ > ; applications from session fixation via session adoption vulnerability. It is
358
+
359
+ > ; disabled by default for maximum compatibility, but enabling it is encouraged.
360
+
361
+ > ; https://wiki.php.net/rfc/strict_sessions
362
+
363
+ > session.use_strict_mode = 0
364
+
365
+ 1435,1460c1433
366
+
367
+ < ; find /path/to/sessions -cmin +24 | xargs rm
368
+
369
+ <
370
+
371
+ < ; PHP 4.2 and less have an undocumented feature/bug that allows you to
372
+
373
+ < ; to initialize a session variable in the global scope.
374
+
375
+ < ; PHP 4.3 and later will warn you, if this feature is used.
376
+
377
+ < ; You can disable the feature and the warning separately. At this time,
378
+
379
+ < ; the warning is only displayed, if bug_compat_42 is enabled. This feature
380
+
381
+ < ; introduces some serious security problems if not handled correctly. It's
382
+
383
+ < ; recommended that you do not use this feature on production servers. But you
384
+
385
+ < ; should enable this on development servers and enable the warning as well. If you
386
+
387
+ < ; do not enable the feature on development servers, you won't be warned when it's
388
+
389
+ < ; used and debugging errors caused by this can be difficult to track down.
390
+
391
+ < ; Default Value: On
392
+
393
+ < ; Development Value: On
394
+
395
+ < ; Production Value: Off
396
+
397
+ < ; http://php.net/session.bug-compat-42
398
+
399
+ < session.bug_compat_42 = Off
400
+
401
+ <
402
+
403
+ < ; This setting controls whether or not you are warned by PHP when initializing a
404
+
405
+ < ; session value into the global space. session.bug_compat_42 must be enabled before
406
+
407
+ < ; these warnings can be issued by PHP. See the directive above for more information.
408
+
409
+ < ; Default Value: On
410
+
411
+ < ; Development Value: On
412
+
413
+ < ; Production Value: Off
414
+
415
+ < ; http://php.net/session.bug-compat-warn
416
+
417
+ < session.bug_compat_warn = Off
418
+
419
+ ---
420
+
421
+ > ; find /path/to/sessions -cmin +24 -type f | xargs rm
422
+
423
+ 1597c1570
424
+
425
+ < mssql.compatability_mode = Off
426
+
427
+ ---
428
+
429
+ > mssql.compatibility_mode = Off
430
+
431
+ 1654,1678d1626
432
+
433
+ < [COM]
434
+
435
+ < ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
436
+
437
+ < ; http://php.net/com.typelib-file
438
+
439
+ < ;com.typelib_file =
440
+
441
+ <
442
+
443
+ < ; allow Distributed-COM calls
444
+
445
+ < ; http://php.net/com.allow-dcom
446
+
447
+ < ;com.allow_dcom = true
448
+
449
+ <
450
+
451
+ < ; autoregister constants of a components typlib on com_load()
452
+
453
+ < ; http://php.net/com.autoregister-typelib
454
+
455
+ < ;com.autoregister_typelib = true
456
+
457
+ <
458
+
459
+ < ; register constants casesensitive
460
+
461
+ < ; http://php.net/com.autoregister-casesensitive
462
+
463
+ < ;com.autoregister_casesensitive = false
464
+
465
+ <
466
+
467
+ < ; show warnings on duplicate constant registrations
468
+
469
+ < ; http://php.net/com.autoregister-verbose
470
+
471
+ < ;com.autoregister_verbose = true
472
+
473
+ <
474
+
475
+ < ; The default character set code-page to use when passing strings to and from COM objects.
476
+
477
+ < ; Default: system ANSI code page
478
+
479
+ < ;com.code_page=
480
+
481
+ <
482
+
483
+ 1688c1636
484
+
485
+ < mbstring.internal_encoding = UTF-8
486
+
487
+ ---
488
+
489
+ > mbstring.internal_encoding = UTF-8
490
+
491
+ 1692c1640
492
+
493
+ < mbstring.http_input = pass
494
+
495
+ ---
496
+
497
+ > mbstring.http_input = UTF-8
498
+
499
+ 1715c1663
500
+
501
+ < mbstring.substitute_character = none;
502
+
503
+ ---
504
+
505
+ > mbstring.substitute_character = none
506
+
507
+ 1729c1677
508
+
509
+ < mbstring.strict_detection = Off
510
+
511
+ ---
512
+
513
+ > mbstring.strict_detection = On
514
+
515
+ 1784a1733,1736
516
+
517
+ >
518
+
519
+ > ; RPM note : cache directory must be owned by process owner
520
+
521
+ > ; for mod_php, see /etc/httpd/conf.d/php.conf
522
+
523
+ > ; for php-fpm, see /etc/php-fpm.d/*conf
524
+
525
+ 1816a1769,1773
526
+
527
+ > [curl]
528
+
529
+ > ; A default value for the CURLOPT_CAINFO option. This is required to be an
530
+
531
+ > ; absolute path.
532
+
533
+ > ;curl.cainfo =
534
+
535
+ >
536
+
537
+ ```