Added an page to view infos about the server (Part-DB, PHP and DB config

This commit is contained in:
Jan Böhmer 2022-11-06 01:07:10 +01:00
parent 78d1dff40f
commit 34fbcec00f
10 changed files with 1287 additions and 1018 deletions

View file

@ -0,0 +1,25 @@
{% import "helper.twig" as helper %}
<table class="table table-sm table-striped table-hover table-bordered">
<tbody>
<tr>
<td>PHP version</td>
<td>{{ php_version }} (SAPI: {{ php_sapi }})</td>
</tr>
<tr>
<td>Server Operating System</td>
<td>{{ php_uname }}</td>
</tr>
<tr>
<td>Opcache enabled</td>
<td>{{ helper.boolean_badge(php_opcache_enabled) }}</td>
</tr>
<tr>
<td>Maximum upload sizee (upload_max_filesize / post_max_size)</td>
<td>{{ php_upload_max_filesize }} / {{ php_post_max_size }}</td>
</tr>
<tr>
<td>PHP extensions</td>
<td>{{ helper.array_to_tags(php_extensions) }}</td>
</tr>
</tbody>
</table>