step2.html
7.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!doctype html>
<html>
<head>
<include file="public/head"/>
</head>
<body>
<div class="wrap">
<include file="public/header"/>
<section class="section">
<div class="step">
<ul class="unstyled">
<li class="current"><em>1</em>检测环境</li>
<li><em>2</em>创建数据</li>
<li><em>3</em>完成安装</li>
</ul>
</div>
<div class="server">
<table width="100%">
<tr>
<td class="td1">环境检测</td>
<td class="td1" width="25%">推荐配置</td>
<td class="td1" width="25%">当前状态</td>
<td class="td1" width="25%">最低要求</td>
</tr>
<tr>
<td>操作系统</td>
<td>类UNIX</td>
<td><i class="fa fa-check correct"></i> {$os}</td>
<td>不限制</td>
</tr>
<tr>
<td>PHP版本</td>
<td>>5.6.x</td>
<td><i class="fa fa-check correct"></i> {$phpversion}</td>
<td>5.3.0</td>
</tr>
<!-- 模块检测 -->
<tr>
<td class="td1" colspan="4">
模块检测
</td>
</tr>
<tr>
<td>session</td>
<td>开启</td>
<td>
{$session}
</td>
<td>开启</td>
</tr>
<tr>
<td>
PDO
<a href="https://www.baidu.com/s?wd=开启PDO,PDO_MYSQL扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$pdo}
</td>
<td>开启</td>
</tr>
<tr>
<td>
PDO_MySQL
<a href="https://www.baidu.com/s?wd=开启PDO,PDO_MYSQL扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$pdo_mysql}
</td>
<td>开启</td>
</tr>
<tr>
<td>
CURL
<a href="https://www.baidu.com/s?wd=开启PHP CURL扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$curl}
</td>
<td>开启</td>
</tr>
<tr>
<td>
GD
<a href="https://www.baidu.com/s?wd=开启PHP GD扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$gd}
</td>
<td>开启</td>
</tr>
<tr>
<td>
MBstring
<a href="https://www.baidu.com/s?wd=开启PHP MBstring扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$mbstring}
</td>
<td>开启</td>
</tr>
<tr>
<td>
fileinfo
<a href="https://www.baidu.com/s?wd=开启PHP fileinfo扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>开启</td>
<td>
{$fileinfo}
</td>
<td>开启</td>
</tr>
<notempty name="show_always_populate_raw_post_data_tip">
<tr>
<td>
$HTTP_RAW_POST_DATA关闭检测
<a href="https://www.baidu.com/s?wd=开启PHP fileinfo扩展" target="_blank">
<i class="fa fa-question-circle question"></i>
</a>
</td>
<td>关闭</td>
<td>
{$always_populate_raw_post_data}
</td>
<td>关闭</td>
</tr>
<tr>
<td>$HTTP_RAW_POST_DATA未关闭解决</td>
<td colspan="3">
<pre>
;php.ini 找到 always_populate_raw_post_data设置如下:
always_populate_raw_post_data = -1
</pre>
</td>
</tr>
</notempty>
<!-- 大小限制检测 -->
<tr>
<td class="td1" colspan="4">
大小限制检测
</td>
</tr>
<tr>
<td>附件上传</td>
<td>>2M</td>
<td>
{$upload_size}
</td>
<td>不限制</td>
</tr>
</table>
<table width="100%">
<tr>
<td class="td1">目录、文件权限检查</td>
<td class="td1" width="25%">写入</td>
<td class="td1" width="25%">读取</td>
</tr>
<foreach name="folders" item="vo" key="dir">
<tr>
<td>
{$dir}
</td>
<td>
<if condition="$vo['w']">
<i class="fa fa-check correct"></i> 可写
<else/>
<i class="fa fa-remove error"></i> 不可写
</if>
</td>
<td>
<if condition="$vo['r']">
<i class="fa fa-check correct"></i> 可读
<else/>
<i class="fa fa-remove error"></i> 不可读
</if>
</td>
</tr>
</foreach>
</table>
</div>
<div class="bottom text-center">
<a href="{:url('index/step2')}" class="btn btn-primary">重新检测</a>
<a href="{:url('index/step3')}" class="btn btn-primary">下一步</a>
</div>
</section>
</div>
<include file="public/footer"/>
</body>
</html>