質問編集履歴

5

参考URL

2020/03/22 10:16

投稿

cocoo
cocoo

スコア8

test CHANGED
File without changes
test CHANGED
@@ -488,6 +488,18 @@
488
488
 
489
489
 
490
490
 
491
+ cakephpをインストールする過程でComposer のインストールを実施しました。
492
+
493
+ https://book.cakephp.org/3/ja/installation.html
494
+
495
+ Composerのインストール(参考URL)
496
+
497
+ https://getcomposer.org/download/
498
+
499
+
500
+
501
+
502
+
491
503
  よろしくお願いいたします。
492
504
 
493
505
  足りない情報などありましたら補足します。

4

php.ini追加

2020/03/22 10:16

投稿

cocoo
cocoo

スコア8

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,342 @@
48
48
 
49
49
  ```
50
50
 
51
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
52
+
53
+ ; Paths and Directories ;
54
+
55
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
56
+
57
+
58
+
59
+ ; UNIX: "/path1:/path2"
60
+
61
+ ;include_path = ".:/php/includes"
62
+
63
+ ;
64
+
65
+ ; Windows: "\path1;\path2"
66
+
67
+ include_path = ".;C:\xampp\php\PEAR"
68
+
69
+ ;
70
+
71
+ ; PHP's default setting for include_path is ".;/path/to/php/pear"
72
+
73
+ ; http://php.net/include-path
74
+
75
+
76
+
77
+ ; The root of the PHP pages, used only if nonempty.
78
+
79
+ ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
80
+
81
+ ; if you are running php as a CGI under any web server (other than IIS)
82
+
83
+ ; see documentation for security issues. The alternate is to use the
84
+
85
+ ; cgi.force_redirect configuration below
86
+
87
+ ; http://php.net/doc-root
88
+
89
+ doc_root =
90
+
91
+
92
+
93
+ ; The directory under which PHP opens the script using /~username used only
94
+
95
+ ; if nonempty.
96
+
97
+ ; http://php.net/user-dir
98
+
99
+ user_dir =
100
+
101
+
102
+
103
+ ; Directory in which the loadable extensions (modules) reside.
104
+
105
+ ; http://php.net/extension-dir
106
+
107
+ ; extension_dir = "./"
108
+
109
+ ; On windows:
110
+
111
+ extension_dir = "C:\xampp\php\ext"
112
+
113
+
114
+
115
+ ; Whether or not to enable the dl() function. The dl() function does NOT work
116
+
117
+ ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
118
+
119
+ ; disabled on them.
120
+
121
+ ; http://php.net/enable-dl
122
+
123
+ enable_dl = On
124
+
125
+
126
+
127
+ ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
128
+
129
+ ; most web servers. Left undefined, PHP turns this on by default. You can
130
+
131
+ ; turn it off here AT YOUR OWN RISK
132
+
133
+ ; **You CAN safely turn this off for IIS, in fact, you MUST.**
134
+
135
+ ; http://php.net/cgi.force-redirect
136
+
137
+ ;cgi.force_redirect = 1
138
+
139
+
140
+
141
+ ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
142
+
143
+ ; every request. PHP's default behavior is to disable this feature.
144
+
145
+ ;cgi.nph = 1
146
+
147
+
148
+
149
+ ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
150
+
151
+ ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
152
+
153
+ ; will look for to know it is OK to continue execution. Setting this variable MAY
154
+
155
+ ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
156
+
157
+ ; http://php.net/cgi.redirect-status-env
158
+
159
+ ;cgi.redirect_status_env = ;
160
+
161
+
162
+
163
+ ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
164
+
165
+ ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
166
+
167
+ ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
168
+
169
+ ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
170
+
171
+ ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
172
+
173
+ ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
174
+
175
+ ; http://php.net/cgi.fix-pathinfo
176
+
177
+ ;cgi.fix_pathinfo=1
178
+
179
+
180
+
181
+ ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
182
+
183
+ ; security tokens of the calling client. This allows IIS to define the
184
+
185
+ ; security context that the request runs under. mod_fastcgi under Apache
186
+
187
+ ; does not currently support this feature (03/17/2002)
188
+
189
+ ; Set to 1 if running under IIS. Default is zero.
190
+
191
+ ; http://php.net/fastcgi.impersonate
192
+
193
+ ;fastcgi.impersonate = 1;
194
+
195
+
196
+
197
+ ; Disable logging through FastCGI connection. PHP's default behavior is to enable
198
+
199
+ ; this feature.
200
+
201
+ ;fastcgi.logging = 0
202
+
203
+
204
+
205
+ ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
206
+
207
+ ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
208
+
209
+ ; is supported by Apache. When this option is set to 1 PHP will send
210
+
211
+ ; RFC2616 compliant header.
212
+
213
+ ; Default is zero.
214
+
215
+ ; http://php.net/cgi.rfc2616-headers
216
+
217
+ ;cgi.rfc2616_headers = 0
218
+
219
+
220
+
221
+ ;;;;;;;;;;;;;;;;
222
+
223
+ ; File Uploads ;
224
+
225
+ ;;;;;;;;;;;;;;;;
226
+
227
+
228
+
229
+ ; Whether to allow HTTP file uploads.
230
+
231
+ ; http://php.net/file-uploads
232
+
233
+ file_uploads = On
234
+
235
+
236
+
237
+ ; Temporary directory for HTTP uploaded files (will use system default if not
238
+
239
+ ; specified).
240
+
241
+ ; http://php.net/upload-tmp-dir
242
+
243
+ upload_tmp_dir = "C:\xampp\tmp"
244
+
245
+
246
+
247
+ ; Maximum allowed size for uploaded files.
248
+
249
+ ; http://php.net/upload-max-filesize
250
+
251
+ upload_max_filesize = 2M
252
+
253
+
254
+
255
+ ; Maximum number of files that can be uploaded via a single request
256
+
257
+ max_file_uploads = 20
258
+
259
+
260
+
261
+ ;;;;;;;;;;;;;;;;;;
262
+
263
+ ; Fopen wrappers ;
264
+
265
+ ;;;;;;;;;;;;;;;;;;
266
+
267
+
268
+
269
+ ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
270
+
271
+ ; http://php.net/allow-url-fopen
272
+
273
+ allow_url_fopen = On
274
+
275
+
276
+
277
+ ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
278
+
279
+ ; http://php.net/allow-url-include
280
+
281
+ allow_url_include = Off
282
+
283
+
284
+
285
+ ; Define the anonymous ftp password (your email address). PHP's default setting
286
+
287
+ ; for this is empty.
288
+
289
+ ; http://php.net/from
290
+
291
+ ;from="john@doe.com"
292
+
293
+
294
+
295
+ ; Define the User-Agent string. PHP's default setting for this is empty.
296
+
297
+ ; http://php.net/user-agent
298
+
299
+ ;user_agent="PHP"
300
+
301
+
302
+
303
+ ; Default timeout for socket based streams (seconds)
304
+
305
+ ; http://php.net/default-socket-timeout
306
+
307
+ default_socket_timeout = 60
308
+
309
+
310
+
311
+ ; If your scripts have to deal with files from Macintosh systems,
312
+
313
+ ; or you are running on a Mac and need to deal with files from
314
+
315
+ ; unix or win32 systems, setting this flag will cause PHP to
316
+
317
+ ; automatically detect the EOL character in those files so that
318
+
319
+ ; fgets() and file() will work regardless of the source of the file.
320
+
321
+ ; http://php.net/auto-detect-line-endings
322
+
323
+ ;auto_detect_line_endings = Off
324
+
325
+
326
+
327
+ ;;;;;;;;;;;;;;;;;;;;;;
328
+
329
+ ; Dynamic Extensions ;
330
+
331
+ ;;;;;;;;;;;;;;;;;;;;;;
332
+
333
+
334
+
335
+ ; If you wish to have an extension loaded automatically, use the following
336
+
337
+ ; syntax:
338
+
339
+ ;
340
+
341
+ ; extension=modulename.extension
342
+
343
+ ;
344
+
345
+ ; For example, on Windows:
346
+
347
+ ;
348
+
349
+ ; extension=msql.dll
350
+
351
+ ;
352
+
353
+ ; ... or under UNIX:
354
+
355
+ ;
356
+
357
+ ; extension=msql.so
358
+
359
+ ;
360
+
361
+ ; ... or with a path:
362
+
363
+ ;
364
+
365
+ ; extension=/path/to/extension/msql.so
366
+
367
+ ;
368
+
369
+ ; If you only provide the name of the extension, PHP will look for it in its
370
+
371
+ ; default extension directory.
372
+
373
+ ;
374
+
375
+ ; Windows Extensions
376
+
377
+ ; Note that ODBC support is built in, so no dll is needed for it.
378
+
379
+ ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
380
+
381
+ ; extension folders as well as the separate PECL DLL download (PHP 5).
382
+
383
+ ; Be sure to appropriately set the extension_dir directive.
384
+
385
+
386
+
51
387
  extension=php_bz2.dll
52
388
 
53
389
  ;extension=php_curl.dll

3

OS情報

2020/03/22 05:59

投稿

cocoo
cocoo

スコア8

test CHANGED
File without changes
test CHANGED
@@ -144,6 +144,12 @@
144
144
 
145
145
  PHP/7.3.9
146
146
 
147
+ OS:Windows 10 Pro
148
+
149
+ バージョン 1903
150
+
151
+ 64bit
152
+
147
153
 
148
154
 
149
155
  よろしくお願いいたします。

2

コメント

2020/03/22 04:34

投稿

cocoo
cocoo

スコア8

test CHANGED
File without changes
test CHANGED
@@ -143,3 +143,9 @@
143
143
 
144
144
 
145
145
  PHP/7.3.9
146
+
147
+
148
+
149
+ よろしくお願いいたします。
150
+
151
+ 足りない情報などありましたら補足します。

1

画面

2020/03/22 04:00

投稿

cocoo
cocoo

スコア8

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,21 @@
16
16
 
17
17
  composer インストールしたいのですが「PHP Setting Error」が発生しインストールできません。
18
18
 
19
+ エラーメッセージ
20
+
19
- ![PHP Settings Error画面](6f0043f47fa318dd70e2ecfaca075a9a.png)
21
+ The PHP exe file you specified did not run correctly:
22
+
23
+ C:\xampp\php\php.exe
24
+
25
+
26
+
27
+ Program Output:
28
+
29
+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
30
+
31
+
32
+
33
+ と表示されます。
20
34
 
21
35
 
22
36