質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -65,3 +65,99 @@
|
|
65
65
|
原因と対策をご教示願えれば幸いです。
|
66
66
|
|
67
67
|
よろしくお願いします。
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
追記です。
|
72
|
+
|
73
|
+
composerが正常にインストールされたか確認したら以下のエラーが出ました。
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
$ php composer.phar -V
|
78
|
+
|
79
|
+
PHP Notice: Undefined index: argv in phar:///virtual/mike2mike/composer.phar/bin/composer on line 57
|
80
|
+
|
81
|
+
PHP Stack trace:
|
82
|
+
|
83
|
+
PHP 1. {main}() /virtual/mike2mike/composer.phar:0
|
84
|
+
|
85
|
+
PHP 2. require() /virtual/mike2mike/composer.phar:23
|
86
|
+
|
87
|
+
PHP Notice: Undefined index: argv in phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Input/ArgvInput.php on line 53
|
88
|
+
|
89
|
+
PHP Stack trace:
|
90
|
+
|
91
|
+
PHP 1. {main}() /virtual/mike2mike/composer.phar:0
|
92
|
+
|
93
|
+
PHP 2. require() /virtual/mike2mike/composer.phar:23
|
94
|
+
|
95
|
+
PHP 3. Composer\Console\Application->run() phar:///virtual/mike2mike/composer.phar/bin/composer:61
|
96
|
+
|
97
|
+
PHP 4. Symfony\Component\Console\Application->run() phar:///virtual/mike2mike/composer.phar/src/Composer/Console/Application.php:106
|
98
|
+
|
99
|
+
PHP 5. Symfony\Component\Console\Input\ArgvInput->__construct() phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Application.php:106
|
100
|
+
|
101
|
+
PHP Warning: array_shift() expects parameter 1 to be array, null given in phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Input/ArgvInput.php on line 57
|
102
|
+
|
103
|
+
PHP Stack trace:
|
104
|
+
|
105
|
+
PHP 1. {main}() /virtual/mike2mike/composer.phar:0
|
106
|
+
|
107
|
+
PHP 2. require() /virtual/mike2mike/composer.phar:23
|
108
|
+
|
109
|
+
PHP 3. Composer\Console\Application->run() phar:///virtual/mike2mike/composer.phar/bin/composer:61
|
110
|
+
|
111
|
+
PHP 4. Symfony\Component\Console\Application->run() phar:///virtual/mike2mike/composer.phar/src/Composer/Console/Application.php:106
|
112
|
+
|
113
|
+
PHP 5. Symfony\Component\Console\Input\ArgvInput->__construct() phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Application.php:106
|
114
|
+
|
115
|
+
PHP 6. array_shift() phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Input/ArgvInput.php:57
|
116
|
+
|
117
|
+
Content-type: text/html; charset=UTF-8
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
|
122
|
+
|
123
|
+
<br />
|
124
|
+
|
125
|
+
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
|
126
|
+
|
127
|
+
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined index: argv in phar:///virtual/mike2mike/composer.phar/bin/composer on line <i>57</i></th></tr>
|
128
|
+
|
129
|
+
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
|
130
|
+
|
131
|
+
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
|
132
|
+
|
133
|
+
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0109</td><td bgcolor='#eeeeec' align='right'>2611432</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/virtual/mike2mike/composer.phar' bgcolor='#eeeeec'>.../composer.phar<b>:</b>0</td></tr>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
・・・
|
138
|
+
|
139
|
+
略
|
140
|
+
|
141
|
+
・・・
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0645</td><td bgcolor='#eeeeec' align='right'>3045136</td><td bgcolor='#eeeeec'>Composer\Console\Application->doRun( )</td><td title='phar:///virtual/mike2mike/composer.phar/vendor/symfony/console/Application.php' bgcolor='#eeeeec'>.../Application.php<b>:</b>117</td></tr>
|
146
|
+
|
147
|
+
<tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0645</td><td bgcolor='#eeeeec' align='right'>3045184</td><td bgcolor='#eeeeec'>Symfony\Component\Console\Input\ArgvInput->hasParameterOption( )</td><td title='phar:///virtual/mike2mike/composer.phar/src/Composer/Console/Application.php' bgcolor='#eeeeec'>.../Application.php<b>:</b>114</td></tr>
|
148
|
+
|
149
|
+
</table></font>
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
[ErrorException]
|
156
|
+
|
157
|
+
Invalid argument supplied for foreach()
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
```
|