teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

php.ini差分情報の追加

2015/05/27 06:01

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -85,4 +85,185 @@
85
85
 
86
86
 
87
87
  長文となりましたが、
88
- どうぞよろしくお願いいたします。
88
+ どうぞよろしくお願いいたします。
89
+
90
+
91
+
92
+ 追加情報①php.iniの差分
93
+ ```lang-memo
94
+ < ; The syntax of the file is extremely simple. Whitespace and Lines
95
+ ---
96
+ > ; The syntax of the file is extremely simple. Whitespace and lines
97
+ 85a86,87
98
+ > ; This is php.ini-production INI file.
99
+ >
100
+ 139,148d140
101
+ < ; session.bug_compat_42
102
+ < ; Default Value: On
103
+ < ; Development Value: On
104
+ < ; Production Value: Off
105
+ <
106
+ < ; session.bug_compat_warn
107
+ < ; Default Value: On
108
+ < ; Development Value: On
109
+ < ; Production Value: Off
110
+ <
111
+ 200,206c192,197
112
+ < ; <? and ?> tags as PHP source which should be processed as such. It's been
113
+ < ; recommended for several years that you not use the short tag "short cut" and
114
+ < ; instead to use the full <?php and ?> tag combination. With the wide spread use
115
+ < ; of XML and use of these tags by other languages, the server can become easily
116
+ < ; confused and end up parsing the wrong code in the wrong context. But because
117
+ < ; this short cut has been a feature for such a long time, it's currently still
118
+ < ; supported for backwards compatibility, but we recommend you don't use them.
119
+ ---
120
+ > ; <? and ?> tags as PHP source which should be processed as such. It is
121
+ > ; generally recommended that <?php and ?> should be used and that this feature
122
+ > ; should be disabled, as enabling it may result in issues when generating XML
123
+ > ; documents, however this remains supported for backward compatibility reasons.
124
+ > ; Note that this directive does not control the <?= shorthand tag, which can be
125
+ > ; used regardless of this directive.
126
+ 375c366
127
+ < expose_php = On
128
+ ---
129
+ > expose_php = Off
130
+ 427c418
131
+ < ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
132
+ ---
133
+ > ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
134
+ 585c576
135
+ < ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
136
+ ---
137
+ > ; Log errors to syslog (Event Log on Windows).
138
+ 731a723,726
139
+ > ; Directory where the temporary files should be placed.
140
+ > ; Defaults to the system default (see sys_get_temp_dir)
141
+ > ; sys_temp_dir = "/tmp"
142
+ >
143
+ 754c749
144
+ < ;cgi.redirect_status_env = ;
145
+ ---
146
+ > ;cgi.redirect_status_env =
147
+ 771c766
148
+ < ;fastcgi.impersonate = 1;
149
+ ---
150
+ > ;fastcgi.impersonate = 1
151
+ 800d794
152
+ < ;upload_max_filesize = 2M
153
+ 958,967d951
154
+ < ; For Win32 only.
155
+ < ; http://php.net/smtp
156
+ < SMTP = localhost
157
+ < ; http://php.net/smtp-port
158
+ < smtp_port = 25
159
+ <
160
+ < ; For Win32 only.
161
+ < ; http://php.net/sendmail-from
162
+ < ;sendmail_from = me@example.com
163
+ <
164
+ 982a967,968
165
+ > ; Log mail to syslog (Event Log on Windows).
166
+ > ;mail.log = syslog
167
+ 1354c1340,1352
168
+ < session.save_path = "/var/lib/php/session"
169
+ ---
170
+ >
171
+ > ; RPM note : session directory must be owned by process owner
172
+ > ; for mod_php, see /etc/httpd/conf.d/php.conf
173
+ > ; for php-fpm, see /etc/php-fpm.d/*conf
174
+ > ;session.save_path = "/tmp"
175
+ >
176
+ > ; Whether to use strict session mode.
177
+ > ; Strict session mode does not accept uninitialized session ID and regenerate
178
+ > ; session ID if browser sends uninitialized session ID. Strict mode protects
179
+ > ; applications from session fixation via session adoption vulnerability. It is
180
+ > ; disabled by default for maximum compatibility, but enabling it is encouraged.
181
+ > ; https://wiki.php.net/rfc/strict_sessions
182
+ > session.use_strict_mode = 0
183
+ 1435,1460c1433
184
+ < ; find /path/to/sessions -cmin +24 | xargs rm
185
+ <
186
+ < ; PHP 4.2 and less have an undocumented feature/bug that allows you to
187
+ < ; to initialize a session variable in the global scope.
188
+ < ; PHP 4.3 and later will warn you, if this feature is used.
189
+ < ; You can disable the feature and the warning separately. At this time,
190
+ < ; the warning is only displayed, if bug_compat_42 is enabled. This feature
191
+ < ; introduces some serious security problems if not handled correctly. It's
192
+ < ; recommended that you do not use this feature on production servers. But you
193
+ < ; should enable this on development servers and enable the warning as well. If you
194
+ < ; do not enable the feature on development servers, you won't be warned when it's
195
+ < ; used and debugging errors caused by this can be difficult to track down.
196
+ < ; Default Value: On
197
+ < ; Development Value: On
198
+ < ; Production Value: Off
199
+ < ; http://php.net/session.bug-compat-42
200
+ < session.bug_compat_42 = Off
201
+ <
202
+ < ; This setting controls whether or not you are warned by PHP when initializing a
203
+ < ; session value into the global space. session.bug_compat_42 must be enabled before
204
+ < ; these warnings can be issued by PHP. See the directive above for more information.
205
+ < ; Default Value: On
206
+ < ; Development Value: On
207
+ < ; Production Value: Off
208
+ < ; http://php.net/session.bug-compat-warn
209
+ < session.bug_compat_warn = Off
210
+ ---
211
+ > ; find /path/to/sessions -cmin +24 -type f | xargs rm
212
+ 1597c1570
213
+ < mssql.compatability_mode = Off
214
+ ---
215
+ > mssql.compatibility_mode = Off
216
+ 1654,1678d1626
217
+ < [COM]
218
+ < ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
219
+ < ; http://php.net/com.typelib-file
220
+ < ;com.typelib_file =
221
+ <
222
+ < ; allow Distributed-COM calls
223
+ < ; http://php.net/com.allow-dcom
224
+ < ;com.allow_dcom = true
225
+ <
226
+ < ; autoregister constants of a components typlib on com_load()
227
+ < ; http://php.net/com.autoregister-typelib
228
+ < ;com.autoregister_typelib = true
229
+ <
230
+ < ; register constants casesensitive
231
+ < ; http://php.net/com.autoregister-casesensitive
232
+ < ;com.autoregister_casesensitive = false
233
+ <
234
+ < ; show warnings on duplicate constant registrations
235
+ < ; http://php.net/com.autoregister-verbose
236
+ < ;com.autoregister_verbose = true
237
+ <
238
+ < ; The default character set code-page to use when passing strings to and from COM objects.
239
+ < ; Default: system ANSI code page
240
+ < ;com.code_page=
241
+ <
242
+ 1688c1636
243
+ < mbstring.internal_encoding = UTF-8
244
+ ---
245
+ > mbstring.internal_encoding = UTF-8
246
+ 1692c1640
247
+ < mbstring.http_input = pass
248
+ ---
249
+ > mbstring.http_input = UTF-8
250
+ 1715c1663
251
+ < mbstring.substitute_character = none;
252
+ ---
253
+ > mbstring.substitute_character = none
254
+ 1729c1677
255
+ < mbstring.strict_detection = Off
256
+ ---
257
+ > mbstring.strict_detection = On
258
+ 1784a1733,1736
259
+ >
260
+ > ; RPM note : cache directory must be owned by process owner
261
+ > ; for mod_php, see /etc/httpd/conf.d/php.conf
262
+ > ; for php-fpm, see /etc/php-fpm.d/*conf
263
+ 1816a1769,1773
264
+ > [curl]
265
+ > ; A default value for the CURLOPT_CAINFO option. This is required to be an
266
+ > ; absolute path.
267
+ > ;curl.cainfo =
268
+ >
269
+ ```