質問編集履歴
5
参考URL
title
CHANGED
File without changes
|
body
CHANGED
@@ -243,5 +243,11 @@
|
|
243
243
|
バージョン 1903
|
244
244
|
64bit
|
245
245
|
|
246
|
+
cakephpをインストールする過程でComposer のインストールを実施しました。
|
247
|
+
https://book.cakephp.org/3/ja/installation.html
|
248
|
+
Composerのインストール(参考URL)
|
249
|
+
https://getcomposer.org/download/
|
250
|
+
|
251
|
+
|
246
252
|
よろしくお願いいたします。
|
247
253
|
足りない情報などありましたら補足します。
|
4
php.ini追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,6 +23,174 @@
|
|
23
23
|
php.iniにて不要のものはコメントアウトしました。
|
24
24
|
|
25
25
|
```
|
26
|
+
;;;;;;;;;;;;;;;;;;;;;;;;;
|
27
|
+
; Paths and Directories ;
|
28
|
+
;;;;;;;;;;;;;;;;;;;;;;;;;
|
29
|
+
|
30
|
+
; UNIX: "/path1:/path2"
|
31
|
+
;include_path = ".:/php/includes"
|
32
|
+
;
|
33
|
+
; Windows: "\path1;\path2"
|
34
|
+
include_path = ".;C:\xampp\php\PEAR"
|
35
|
+
;
|
36
|
+
; PHP's default setting for include_path is ".;/path/to/php/pear"
|
37
|
+
; http://php.net/include-path
|
38
|
+
|
39
|
+
; The root of the PHP pages, used only if nonempty.
|
40
|
+
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
41
|
+
; if you are running php as a CGI under any web server (other than IIS)
|
42
|
+
; see documentation for security issues. The alternate is to use the
|
43
|
+
; cgi.force_redirect configuration below
|
44
|
+
; http://php.net/doc-root
|
45
|
+
doc_root =
|
46
|
+
|
47
|
+
; The directory under which PHP opens the script using /~username used only
|
48
|
+
; if nonempty.
|
49
|
+
; http://php.net/user-dir
|
50
|
+
user_dir =
|
51
|
+
|
52
|
+
; Directory in which the loadable extensions (modules) reside.
|
53
|
+
; http://php.net/extension-dir
|
54
|
+
; extension_dir = "./"
|
55
|
+
; On windows:
|
56
|
+
extension_dir = "C:\xampp\php\ext"
|
57
|
+
|
58
|
+
; Whether or not to enable the dl() function. The dl() function does NOT work
|
59
|
+
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
60
|
+
; disabled on them.
|
61
|
+
; http://php.net/enable-dl
|
62
|
+
enable_dl = On
|
63
|
+
|
64
|
+
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
65
|
+
; most web servers. Left undefined, PHP turns this on by default. You can
|
66
|
+
; turn it off here AT YOUR OWN RISK
|
67
|
+
; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
68
|
+
; http://php.net/cgi.force-redirect
|
69
|
+
;cgi.force_redirect = 1
|
70
|
+
|
71
|
+
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
72
|
+
; every request. PHP's default behavior is to disable this feature.
|
73
|
+
;cgi.nph = 1
|
74
|
+
|
75
|
+
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
76
|
+
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
77
|
+
; will look for to know it is OK to continue execution. Setting this variable MAY
|
78
|
+
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
79
|
+
; http://php.net/cgi.redirect-status-env
|
80
|
+
;cgi.redirect_status_env = ;
|
81
|
+
|
82
|
+
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
83
|
+
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
84
|
+
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
85
|
+
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
|
86
|
+
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
87
|
+
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
88
|
+
; http://php.net/cgi.fix-pathinfo
|
89
|
+
;cgi.fix_pathinfo=1
|
90
|
+
|
91
|
+
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
|
92
|
+
; security tokens of the calling client. This allows IIS to define the
|
93
|
+
; security context that the request runs under. mod_fastcgi under Apache
|
94
|
+
; does not currently support this feature (03/17/2002)
|
95
|
+
; Set to 1 if running under IIS. Default is zero.
|
96
|
+
; http://php.net/fastcgi.impersonate
|
97
|
+
;fastcgi.impersonate = 1;
|
98
|
+
|
99
|
+
; Disable logging through FastCGI connection. PHP's default behavior is to enable
|
100
|
+
; this feature.
|
101
|
+
;fastcgi.logging = 0
|
102
|
+
|
103
|
+
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
104
|
+
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
|
105
|
+
; is supported by Apache. When this option is set to 1 PHP will send
|
106
|
+
; RFC2616 compliant header.
|
107
|
+
; Default is zero.
|
108
|
+
; http://php.net/cgi.rfc2616-headers
|
109
|
+
;cgi.rfc2616_headers = 0
|
110
|
+
|
111
|
+
;;;;;;;;;;;;;;;;
|
112
|
+
; File Uploads ;
|
113
|
+
;;;;;;;;;;;;;;;;
|
114
|
+
|
115
|
+
; Whether to allow HTTP file uploads.
|
116
|
+
; http://php.net/file-uploads
|
117
|
+
file_uploads = On
|
118
|
+
|
119
|
+
; Temporary directory for HTTP uploaded files (will use system default if not
|
120
|
+
; specified).
|
121
|
+
; http://php.net/upload-tmp-dir
|
122
|
+
upload_tmp_dir = "C:\xampp\tmp"
|
123
|
+
|
124
|
+
; Maximum allowed size for uploaded files.
|
125
|
+
; http://php.net/upload-max-filesize
|
126
|
+
upload_max_filesize = 2M
|
127
|
+
|
128
|
+
; Maximum number of files that can be uploaded via a single request
|
129
|
+
max_file_uploads = 20
|
130
|
+
|
131
|
+
;;;;;;;;;;;;;;;;;;
|
132
|
+
; Fopen wrappers ;
|
133
|
+
;;;;;;;;;;;;;;;;;;
|
134
|
+
|
135
|
+
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
136
|
+
; http://php.net/allow-url-fopen
|
137
|
+
allow_url_fopen = On
|
138
|
+
|
139
|
+
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
|
140
|
+
; http://php.net/allow-url-include
|
141
|
+
allow_url_include = Off
|
142
|
+
|
143
|
+
; Define the anonymous ftp password (your email address). PHP's default setting
|
144
|
+
; for this is empty.
|
145
|
+
; http://php.net/from
|
146
|
+
;from="john@doe.com"
|
147
|
+
|
148
|
+
; Define the User-Agent string. PHP's default setting for this is empty.
|
149
|
+
; http://php.net/user-agent
|
150
|
+
;user_agent="PHP"
|
151
|
+
|
152
|
+
; Default timeout for socket based streams (seconds)
|
153
|
+
; http://php.net/default-socket-timeout
|
154
|
+
default_socket_timeout = 60
|
155
|
+
|
156
|
+
; If your scripts have to deal with files from Macintosh systems,
|
157
|
+
; or you are running on a Mac and need to deal with files from
|
158
|
+
; unix or win32 systems, setting this flag will cause PHP to
|
159
|
+
; automatically detect the EOL character in those files so that
|
160
|
+
; fgets() and file() will work regardless of the source of the file.
|
161
|
+
; http://php.net/auto-detect-line-endings
|
162
|
+
;auto_detect_line_endings = Off
|
163
|
+
|
164
|
+
;;;;;;;;;;;;;;;;;;;;;;
|
165
|
+
; Dynamic Extensions ;
|
166
|
+
;;;;;;;;;;;;;;;;;;;;;;
|
167
|
+
|
168
|
+
; If you wish to have an extension loaded automatically, use the following
|
169
|
+
; syntax:
|
170
|
+
;
|
171
|
+
; extension=modulename.extension
|
172
|
+
;
|
173
|
+
; For example, on Windows:
|
174
|
+
;
|
175
|
+
; extension=msql.dll
|
176
|
+
;
|
177
|
+
; ... or under UNIX:
|
178
|
+
;
|
179
|
+
; extension=msql.so
|
180
|
+
;
|
181
|
+
; ... or with a path:
|
182
|
+
;
|
183
|
+
; extension=/path/to/extension/msql.so
|
184
|
+
;
|
185
|
+
; If you only provide the name of the extension, PHP will look for it in its
|
186
|
+
; default extension directory.
|
187
|
+
;
|
188
|
+
; Windows Extensions
|
189
|
+
; Note that ODBC support is built in, so no dll is needed for it.
|
190
|
+
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
|
191
|
+
; extension folders as well as the separate PECL DLL download (PHP 5).
|
192
|
+
; Be sure to appropriately set the extension_dir directive.
|
193
|
+
|
26
194
|
extension=php_bz2.dll
|
27
195
|
;extension=php_curl.dll
|
28
196
|
extension=php_mbstring.dll
|
3
OS情報
title
CHANGED
File without changes
|
body
CHANGED
@@ -71,6 +71,9 @@
|
|
71
71
|
### 補足情報(FW/ツールのバージョンなど)
|
72
72
|
|
73
73
|
PHP/7.3.9
|
74
|
+
OS:Windows 10 Pro
|
75
|
+
バージョン 1903
|
76
|
+
64bit
|
74
77
|
|
75
78
|
よろしくお願いいたします。
|
76
79
|
足りない情報などありましたら補足します。
|
2
コメント
title
CHANGED
File without changes
|
body
CHANGED
@@ -70,4 +70,7 @@
|
|
70
70
|
|
71
71
|
### 補足情報(FW/ツールのバージョンなど)
|
72
72
|
|
73
|
-
PHP/7.3.9
|
73
|
+
PHP/7.3.9
|
74
|
+
|
75
|
+
よろしくお願いいたします。
|
76
|
+
足りない情報などありましたら補足します。
|
1
画面
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,8 +7,15 @@
|
|
7
7
|
|
8
8
|
```
|
9
9
|
composer インストールしたいのですが「PHP Setting Error」が発生しインストールできません。
|
10
|
+
エラーメッセージ
|
10
|
-
|
11
|
+
The PHP exe file you specified did not run correctly:
|
12
|
+
C:\xampp\php\php.exe
|
11
13
|
|
14
|
+
Program Output:
|
15
|
+
PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
|
16
|
+
|
17
|
+
と表示されます。
|
18
|
+
|
12
19
|
```
|
13
20
|
|
14
21
|
### 試したこと
|