質問編集履歴
5
phpのモジュールの構成
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,85 @@
|
|
143
143
|
```
|
144
144
|
|
145
145
|
curlでうまくインストールできていないみたいです.
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
phpモジュールの確認
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
[vagrant@localhost ~]$php -m
|
154
|
+
|
155
|
+
[PHP Modules]
|
156
|
+
|
157
|
+
bz2
|
158
|
+
|
159
|
+
calendar
|
160
|
+
|
161
|
+
Core
|
162
|
+
|
163
|
+
ctype
|
164
|
+
|
165
|
+
curl
|
166
|
+
|
167
|
+
date
|
168
|
+
|
169
|
+
ereg
|
170
|
+
|
171
|
+
exif
|
172
|
+
|
173
|
+
fileinfo
|
174
|
+
|
175
|
+
filter
|
176
|
+
|
177
|
+
ftp
|
178
|
+
|
179
|
+
gettext
|
180
|
+
|
181
|
+
gmp
|
182
|
+
|
183
|
+
hash
|
184
|
+
|
185
|
+
iconv
|
186
|
+
|
187
|
+
json
|
188
|
+
|
189
|
+
libxml
|
190
|
+
|
191
|
+
mbstring
|
192
|
+
|
193
|
+
mhash
|
194
|
+
|
195
|
+
openssl
|
196
|
+
|
197
|
+
pcntl
|
198
|
+
|
199
|
+
pcre
|
200
|
+
|
201
|
+
Phar
|
202
|
+
|
203
|
+
readline
|
204
|
+
|
205
|
+
Reflection
|
206
|
+
|
207
|
+
session
|
208
|
+
|
209
|
+
shmop
|
210
|
+
|
211
|
+
SimpleXML
|
212
|
+
|
213
|
+
sockets
|
214
|
+
|
215
|
+
SPL
|
216
|
+
|
217
|
+
standard
|
218
|
+
|
219
|
+
tokenizer
|
220
|
+
|
221
|
+
xml
|
222
|
+
|
223
|
+
zip
|
224
|
+
|
225
|
+
zlib
|
226
|
+
|
227
|
+
```
|
4
再構成
test
CHANGED
File without changes
|
test
CHANGED
@@ -73,3 +73,73 @@
|
|
73
73
|
-rwxr-xr-x 1 vagrant vagrant 105 16. Jul 2015 zerodisk.sh
|
74
74
|
|
75
75
|
```
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
###再実行内容
|
80
|
+
|
81
|
+
```
|
82
|
+
|
83
|
+
[vagrant@localhost ~]$ sudo yum -y install httpd
|
84
|
+
|
85
|
+
sudo systemctl start httpd.service
|
86
|
+
|
87
|
+
//curlのインストール
|
88
|
+
|
89
|
+
sudo yum -y install curl
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
//ファイアーウォールの削除
|
94
|
+
|
95
|
+
sudo systemctl stop firewalld
|
96
|
+
|
97
|
+
sudo systemctl disable firewalld
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
//phpのインストール
|
102
|
+
|
103
|
+
sudo yum -y install php php-mbstring
|
104
|
+
|
105
|
+
//シンボリックの反映
|
106
|
+
|
107
|
+
sudo rm -rf /var/www/html
|
108
|
+
|
109
|
+
sudo ln -fs /vagrant /var/www/html
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
//unzipのインストール
|
114
|
+
|
115
|
+
sudo yum -y install unzip
|
116
|
+
|
117
|
+
//fuelPHPのインストール
|
118
|
+
|
119
|
+
curl http://fuelphp.com/files/download/41 -o fuelphp-1.8.1.zip && unzip fuelphp-1.8.1.zip
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
124
|
+
|
125
|
+
Dload Upload Total Spent Left Speed
|
126
|
+
|
127
|
+
100 249 100 249 0 0 391 0 --:--:-- --:--:-- --:--:-- 391
|
128
|
+
|
129
|
+
Archive: fuelphp-1.8.1.zip
|
130
|
+
|
131
|
+
End-of-central-directory signature not found. Either this file is not
|
132
|
+
|
133
|
+
a zipfile, or it constitutes one disk of a multi-part archive. In the
|
134
|
+
|
135
|
+
latter case the central directory and zipfile comment will be found on
|
136
|
+
|
137
|
+
the last disk(s) of this archive.
|
138
|
+
|
139
|
+
unzip: cannot find zipfile directory in one of fuelphp-1.8.1.zip or
|
140
|
+
|
141
|
+
fuelphp-1.8.1.zip.zip, and cannot find fuelphp-1.8.1.zip.ZIP, period.
|
142
|
+
|
143
|
+
```
|
144
|
+
|
145
|
+
curlでうまくインストールできていないみたいです.
|
3
中身の詳細
test
CHANGED
File without changes
|
test
CHANGED
@@ -43,3 +43,33 @@
|
|
43
43
|
fuelphp-1.8.1.zip.zip, and cannot find fuelphp-1.8.1.zip.ZIP, period.
|
44
44
|
|
45
45
|
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
###中身
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
[vagrant@localhost ~]$ ls -l
|
54
|
+
|
55
|
+
insgesamt 36
|
56
|
+
|
57
|
+
-rwxr-xr-x 1 vagrant vagrant 450 16. Jul 2015 base.sh
|
58
|
+
|
59
|
+
-rwxr-xr-x 1 vagrant vagrant 118 16. Jul 2015 cleanup.sh
|
60
|
+
|
61
|
+
-rw-rw-r-- 1 vagrant vagrant 249 9. Jun 02:38 fuelphp-1.7.3.zip
|
62
|
+
|
63
|
+
-rw-rw-r-- 1 vagrant vagrant 249 8. Jun 18:35 fuelphp-1.8.1
|
64
|
+
|
65
|
+
-rw-rw-r-- 1 vagrant vagrant 249 9. Jun 03:50 fuelphp-1.8.1.zip
|
66
|
+
|
67
|
+
-rwxr-xr-x 1 vagrant vagrant 360 16. Jul 2015 puppet.sh
|
68
|
+
|
69
|
+
-rwxr-xr-x 1 vagrant vagrant 674 16. Jul 2015 vagrant.sh
|
70
|
+
|
71
|
+
-rwxr-xr-x 1 vagrant vagrant 260 16. Jul 2015 virtualbox.sh
|
72
|
+
|
73
|
+
-rwxr-xr-x 1 vagrant vagrant 105 16. Jul 2015 zerodisk.sh
|
74
|
+
|
75
|
+
```
|
2
エラー内容の更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,8 +16,30 @@
|
|
16
16
|
|
17
17
|
どなたか教えていただけないでしょうか?
|
18
18
|
|
19
|
-
|
20
|
-
|
21
19
|
###エラー内容
|
22
20
|
|
21
|
+
```
|
22
|
+
|
23
|
-
|
23
|
+
[vagrant@localhost ~]$curl http://fuelphp.com/files/download/41 -o fuelphp-1.8.1.zip && unzip fuelphp-1.8.1.zip
|
24
|
+
|
25
|
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
26
|
+
|
27
|
+
Dload Upload Total Spent Left Speed
|
28
|
+
|
29
|
+
100 249 100 249 0 0 282 0 --:--:-- --:--:-- --:--:-- 283
|
30
|
+
|
31
|
+
Archive: fuelphp-1.8.1.zip
|
32
|
+
|
33
|
+
End-of-central-directory signature not found. Either this file is not
|
34
|
+
|
35
|
+
a zipfile, or it constitutes one disk of a multi-part archive. In the
|
36
|
+
|
37
|
+
latter case the central directory and zipfile comment will be found on
|
38
|
+
|
39
|
+
the last disk(s) of this archive.
|
40
|
+
|
41
|
+
unzip: cannot find zipfile directory in one of fuelphp-1.8.1.zip or
|
42
|
+
|
43
|
+
fuelphp-1.8.1.zip.zip, and cannot find fuelphp-1.8.1.zip.ZIP, period.
|
44
|
+
|
45
|
+
```
|
1
コマンド入力内容を提示しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,9 @@
|
|
15
15
|
phpinfoでサーバーにアクセスできること確認しています.
|
16
16
|
|
17
17
|
どなたか教えていただけないでしょうか?
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
###エラー内容
|
22
|
+
|
23
|
+
```curl http://fuelphp.com/files/download/41 -o fuelphp-1.8.1.zip unzip fuelphp-1.8.1.zip```と入力したら,zipフォルダが見つからないと出ている状態です
|