step2.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>运行环境检测 - Powered by CRMEB </title>
  6. <link rel="stylesheet" href="/install/css/install.css?v=9.0" />
  7. </head>
  8. <body>
  9. <div class="wrap">
  10. <div class="header">
  11. <h1 class="logo">logo</h1>
  12. <div class="icon_install">安装向导</div>
  13. <div class="version"></div>
  14. </div>
  15. <section class="section">
  16. <div class="step">
  17. <ul>
  18. <li class="current"><em>1</em>检测环境</li>
  19. <li><em>2</em>创建数据</li>
  20. <li><em>3</em>完成安装</li>
  21. </ul>
  22. </div>
  23. <div class="server">
  24. <table width="100%">
  25. <tr>
  26. <td class="td1">环境检测</td>
  27. <td class="td1" width="25%">推荐配置</td>
  28. <td class="td1" width="25%">当前状态</td>
  29. <td class="td1" width="25%">最低要求</td>
  30. </tr>
  31. <tr>
  32. <td>PHP版本</td>
  33. <td>><?php echo 7.2; ?></td>
  34. <td><span class="correct_span">&radic;</span> <?php echo $phpv; ?></td>
  35. <td><?php echo 7.2; ?>以上</td>
  36. </tr>
  37. <tr>
  38. <td>附件上传</td>
  39. <td>>2M</td>
  40. <td><?php echo $uploadSize; ?></td>
  41. <td>不限制</td>
  42. </tr>
  43. <tr>
  44. <td>session</td>
  45. <td>开启</td>
  46. <td><?php echo $session; ?></td>
  47. <td>开启</td>
  48. </tr>
  49. <tr>
  50. <td>safe_mode</td>
  51. <td>基础配置</td>
  52. <td><?php echo $safe_mode; ?></td>
  53. <td>启用</td>
  54. </tr>
  55. <tr>
  56. <td>GD库</td>
  57. <td>必须开启</td>
  58. <td><?php echo $gd; ?></td>
  59. <td>1.0</td>
  60. </tr>
  61. <tr>
  62. <td>mysqli</td>
  63. <td>必须开启</td>
  64. <td><?php echo $mysql; ?></td>
  65. <td>启用</td>
  66. </tr>
  67. <tr>
  68. <td>curl_init</td>
  69. <td>必须扩展</td>
  70. <td><?php echo $curl; ?></td>
  71. <td>启用</td>
  72. </tr>
  73. <tr>
  74. <td>zip</td>
  75. <td>必须扩展</td>
  76. <td><?php echo $zip; ?></td>
  77. <td>启用</td>
  78. </tr>
  79. <tr>
  80. <td>bcmath</td>
  81. <td>必须扩展</td>
  82. <td><?php echo $bcmath; ?></td>
  83. <td>启用</td>
  84. </tr>
  85. <tr>
  86. <td>swoole</td>
  87. <td>必须扩展</td>
  88. <td><?php echo $swoole; ?></td>
  89. <td>启用</td>
  90. </tr>
  91. <tr>
  92. <td>swoole_loader</td>
  93. <td>必须扩展</td>
  94. <td><?php echo $swooleCompiler; ?></td>
  95. <td>启用</td>
  96. </tr>
  97. <tr>
  98. <td>redis</td>
  99. <td>必须扩展</td>
  100. <td><?php echo $redis; ?></td>
  101. <td>启用</td>
  102. </tr>
  103. <tr>
  104. <td>openssl</td>
  105. <td>必须扩展</td>
  106. <td><?php echo $openssl; ?></td>
  107. <td>启用</td>
  108. </tr>
  109. <tr>
  110. <td>fileinfo</td>
  111. <td>必须扩展</td>
  112. <td><?php echo $finfo_open; ?></td>
  113. <td>启用</td>
  114. </tr>
  115. </table>
  116. <table width="100%">
  117. <tr>
  118. <td class="td1" width="70%">函数检测必须开启</td>
  119. <td class="td1" width="30%">当前状态</td>
  120. </tr>
  121. <tr>
  122. <td>file_put_contents</td>
  123. <td><?php echo $file_put_contents; ?></td>
  124. </tr>
  125. <tr>
  126. <td>imagettftext</td>
  127. <td><?php echo $imagettftext; ?></td>
  128. </tr>
  129. </table>
  130. </div>
  131. <div class="bottom tac">
  132. <a href="/install/environment" onClick="javascript:alert('记得先重启服务')"class="btn">重新检测</a>
  133. <?php if($err>0){?>
  134. <a href="javascript:void(0)" onClick="javascript:alert('安装环境检测未通过,请检查')" class="btn" style="background: gray;">下一步</a>
  135. <?php }else{?>
  136. <a href="/install/databases" class="btn">下一步</a>
  137. <?php }?>
  138. </div>
  139. </section>
  140. </div>
  141. </body>
  142. <div class="footer"> &copy; 2014-2018 <a href="http://www.crmeb.com" target="_blank">www.crmeb.com</a> 西安众邦网络科技有限公司出品</div>
  143. </html>