source: branches/rsr.v5.1.dev/web/install/out/content/e_check.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 12 years ago

import initial

File size: 2.3 KB
Line 
1<p>Avant de commencer l'installation, v&eacute;rifiez la version de Php et les droits en &eacute;criture.</p>
2<h2>Version de Php</h2>
3<?php
4
5  $php_version = phpversion();
6  $PHP_OK = substr($php_version, 0, 1) == "5";
7
8?>
9<p>Version install&eacute;e sur ce serveur :
10<font class="<?= $PHP_OK ? "ok" : "warn" ?>"><?= $php_version ?></font></p>
11<?php if($PHP_OK) : ?>
12<p>Le site peut fonctionner avec cette version de Php.</p>
13<?php else : ?>
14<p>Le site ne fonctionnera pas avec version de Php. Il faut au minimum la version 5.</p>
15<?php endif; ?>
16<h2>Droits en ecriture</h2>
17<p>
18Les fichiers et dossiers suivants doivent &ecirc;tre accessibles en &eacute;criture :
19</p>
20<table class="list">
21  <tr>
22    <td>pathes.php</td>
23    <td>
24    <?php if(is_writable("../pathes.php")): ?>
25      <font class="ok">modifiable</font>
26    <?php else : ?>
27      <font class="warn">non modifiable</font>
28    <?php endif; ?>
29    </td>
30  </tr>
31  <tr>
32    <td>config.php</td>
33    <td>
34    <?php if(is_writable("../config.php")): ?>
35      <font class="ok">modifiable</font>
36    <?php else : ?>
37      <font class="warn">non modifiable</font>
38    <?php endif; ?>
39    </td>
40  </tr>
41  <tr>
42    <td>punbb/cache/</td>
43    <td>
44    <?php if(is_writable("../punbb/cache/")): ?>
45      <font class="ok">modifiable</font>
46    <?php else : ?>
47      <font class="warn">non modifiable</font>
48    <?php endif; ?>
49    </td>
50  </tr>
51  <tr>
52    <td>uploads/categories/</td>
53    <td>
54    <?php if(is_writable("../uploads/categories/")): ?>
55      <font class="ok">modifiable</font>
56    <?php else : ?>
57      <font class="warn">non modifiable</font>
58    <?php endif; ?>
59    </td>
60  </tr>
61  <tr>
62    <td>uploads/artistes/</td>
63    <td>
64    <?php if(is_writable("../uploads/artistes/")): ?>
65      <font class="ok">modifiable</font>
66    <?php else : ?>
67      <font class="warn">non modifiable</font>
68    <?php endif; ?>
69    </td>
70  </tr>
71</table>
72<br />
73<p>Une fois le site install&eacute;, vous pourrez enlever les droits en &eacute;criture sur les fichiers
74<b>pathes.php</b> et <b>config.php</b>.
75</p>
76<h2>Continuer</h2>
77<p>
78Si la version de Php et les acc&egrave;s en &eacute;criture sont corrects, vous pouvez
79<a href="<?= $env->url(array("e" => "install")) ?>">continuer</a>.
80</p>
81<p>
82<a href="<?= $env->url(array("e" => "check")) ?>">Rechargez la page</a> pour v&eacute;rifier &agrave; nouveau
83</p>
Note: See TracBrowser for help on using the repository browser.