f9bfb65af7ae0ead0af6b63275b5091f.php
8.9 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
207
208
209
210
211
212
213
214
215
216
217
218
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:64:"D:\PHPTutorial\WWW\xkeasy\public/../app/install\view\\step2.html";i:1547883253;s:69:"D:\PHPTutorial\WWW\xkeasy\public/../app/install\view\public\head.html";i:1547883253;s:71:"D:\PHPTutorial\WWW\xkeasy\public/../app/install\view\public\header.html";i:1547883253;s:71:"D:\PHPTutorial\WWW\xkeasy\public/../app/install\view\public\footer.html";i:1547883253;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>bronet安装</title>
<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" />
<link rel="stylesheet" href="__STATIC__/install/css/install.css" />
<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css">
</head>
<body>
<div class="wrap">
<div class="header">
<h1 class="logo">bronet 安装向导</h1>
<div class="version"><?php echo BRONET_VERSION; ?></div>
</div>
<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> <?php echo $os; ?></td>
<td>不限制</td>
</tr>
<tr>
<td>PHP版本</td>
<td>>5.6.x</td>
<td><i class="fa fa-check correct"></i> <?php echo $phpversion; ?></td>
<td>5.3.0</td>
</tr>
<!-- 模块检测 -->
<tr>
<td class="td1" colspan="4">
模块检测
</td>
</tr>
<tr>
<td>session</td>
<td>开启</td>
<td>
<?php echo $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>
<?php echo $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>
<?php echo $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>
<?php echo $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>
<?php echo $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>
<?php echo $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>
<?php echo $fileinfo; ?>
</td>
<td>开启</td>
</tr>
<?php if(!(empty($show_always_populate_raw_post_data_tip) || (($show_always_populate_raw_post_data_tip instanceof \think\Collection || $show_always_populate_raw_post_data_tip instanceof \think\Paginator ) && $show_always_populate_raw_post_data_tip->isEmpty()))): ?>
<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>
<?php echo $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>
<?php endif; ?>
<!-- 大小限制检测 -->
<tr>
<td class="td1" colspan="4">
大小限制检测
</td>
</tr>
<tr>
<td>附件上传</td>
<td>>2M</td>
<td>
<?php echo $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>
<?php if(is_array($folders) || $folders instanceof \think\Collection || $folders instanceof \think\Paginator): if( count($folders)==0 ) : echo "" ;else: foreach($folders as $dir=>$vo): ?>
<tr>
<td>
<?php echo $dir; ?>
</td>
<td>
<?php if($vo['w']): ?>
<i class="fa fa-check correct"></i> 可写
<?php else: ?>
<i class="fa fa-remove error"></i> 不可写
<?php endif; ?>
</td>
<td>
<?php if($vo['r']): ?>
<i class="fa fa-check correct"></i> 可读
<?php else: ?>
<i class="fa fa-remove error"></i> 不可读
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</div>
<div class="bottom text-center">
<a href="<?php echo url('index/step2'); ?>" class="btn btn-primary">重新检测</a>
<a href="<?php echo url('index/step3'); ?>" class="btn btn-primary">下一步</a>
</div>
</section>
</div>
<div class="footer">
© 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a>
</div>
</body>
</html>