mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-16 05:14:35 +02:00
Added an page to view infos about the server (Part-DB, PHP and DB config
This commit is contained in:
parent
78d1dff40f
commit
34fbcec00f
10 changed files with 1287 additions and 1018 deletions
25
templates/Tools/ServerInfos/_php.html.twig
Normal file
25
templates/Tools/ServerInfos/_php.html.twig
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue