Skip to content

Commit b88e2fb

Browse files
committed
Checkup page
1 parent 26219cd commit b88e2fb

File tree

4 files changed

+123
-3
lines changed

4 files changed

+123
-3
lines changed

en/docs/checkup.html

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,123 @@ <h2 id="Test-server">
2121
<p>
2222
Run <code>http://localhost/checkup.php</code>
2323
</p>
24+
25+
<p>Possible errors and suggestions:</p>
26+
27+
<div class="box">
28+
<table>
29+
<thead>
30+
<tr>
31+
<th>-</th>
32+
<th>-</th>
33+
</tr>
34+
</thead>
35+
<tbody>
36+
<tr>
37+
<td><code>ini_get</code> function has been disabled on your server, checking your server settings will be incomplete</td>
38+
<td>Warning</td>
39+
</tr>
40+
41+
<tr>
42+
<td><code>php.ini</code> is not configured on your server</td>
43+
<td>Error</td>
44+
</tr>
45+
46+
<tr>
47+
<td><code>php_ini_loaded_file</code> function has been disabled on your server, it is not possible to check the server settings</td>
48+
<td>Error</td>
49+
</tr>
50+
51+
<tr>
52+
<td>Disable <code>magic_quotes_gpc</td>
53+
<td>Error</td>
54+
</tr>
55+
56+
<tr>
57+
<td>Set -1 to <code>always_populate_raw_post_data</td>
58+
<td>Error</td>
59+
</tr>
60+
61+
<tr>
62+
<td><code>system/storage/</code> directory requires write permissions</td>
63+
<td>Error</td>
64+
</tr>
65+
66+
<tr>
67+
<td><code>Inphinit\Utility\Url</code> class and <code>Inphinit\Utility\Strings::toAscii</code> method will not work, to fix it, enable *Multibyte String* (optional)</td>
68+
<td>Error</td>
69+
</tr>
70+
71+
<tr>
72+
<td><code>Inphinit\Utility\String</code> class will not work, to fix it, enable <code>iconv</code> (optional)</td>
73+
<td>Error</td>
74+
</tr>
75+
76+
<tr>
77+
<td><code>Inphinit\Filesystem\File::mime</code> and <code>Inphinit\Filesystem\File::encoding</code> methods will not work, to fix it, enable <code>finfo</code> (optional)</td>
78+
<td>Error</td>
79+
</tr>
80+
</tbody>
81+
</table>
82+
</div>
83+
84+
<p>Possible errors and suggestions that may appear in the production mode:</p>
85+
86+
<div class="box">
87+
<table>
88+
<thead>
89+
<tr>
90+
<th>-</th>
91+
<th>-</th>
92+
</tr>
93+
</thead>
94+
<tbody>
95+
<tr>
96+
<td>Disable <code>display_errors</td>
97+
<td>Error</td>
98+
</tr>
99+
</tbody>
100+
</table>
101+
</div>
102+
103+
<p>Possible errors and suggestions that may appear in the development mode:</p>
104+
105+
<div class="box">
106+
<table>
107+
<thead>
108+
<tr>
109+
<th>-</th>
110+
<th>-</th>
111+
</tr>
112+
</thead>
113+
<tbody>
114+
<tr>
115+
<td>While your application is in development mode, it is recommended to disable <code>xcache.cacher</td>
116+
<td>Advice</td>
117+
</tr>
118+
119+
<tr>
120+
<td>While your application is in development mode, it is recommended to disable <code>opcache.enable</td>
121+
<td>Advice</td>
122+
</tr>
123+
124+
<tr>
125+
<td>While your application is in development mode, it is recommended to disable <code>wincache.ocenabled</td>
126+
<td>Advice</td>
127+
</tr>
128+
129+
<tr>
130+
<td>While your application is in development mode, it is recommended to disable <code>apc.ocenabled</td>
131+
<td>Advice</td>
132+
</tr>
133+
134+
<tr>
135+
<td>While your application is in development mode, it is recommended to disable <code>eaccelerator.ocenabled</td>
136+
<td>Advice</td>
137+
</tr>
138+
</tbody>
139+
</table>
140+
</div>
24141
</section>
25142

26143
<footer>

en/docs/dom/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ <h2 id="load-files">
8080
</p>
8181

8282
<div class="box">
83-
<code>
83+
<code tabindex="0"><i>use</i> Inphinit\DOM\<em>Document</em>;
84+
8485
$<i>opts</i> = <i>array</i>(
8586
<b>'http'</b> =&gt; <i>array</i>(
8687
<b>'user_agent'</b> => <b>'PHP libxml agent'</b>,

en/docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ <h2 id="download">
7777

7878
<p>See example for download using terminal</p>
7979
<div class="box">
80-
<code class="lang-terminal" tabindex="0"><span>wget "https://foo/inphinit-v2.0.1.tar.gz"</span>
81-
<span>tar -xf inphinit-v2.0.1.tar.gz</span>
80+
<code class="lang-terminal" tabindex="0"><span>wget "https://foo/inphinit-v2.1.0.tar.gz"</span>
81+
<span>tar -xf inphinit-v2.1.0.tar.gz</span>
8282
<span>cd application</span></code>
8383
</div>
8484
</section>

en/docs/web-server/iis.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ <h2 id="download">
2222
<p>
2323
Download WebPlatformInstaller:
2424
<a href="https://www.microsoft.com/web/downloads/platform.aspx" rel="external" target="_blank">
25+
https://www.microsoft.com/web/downloads/platform.aspx
26+
</a>
2527
</p>
2628
</section>
2729

0 commit comments

Comments
 (0)