wp_back/wp-content/plugins/webp-converter-for-media/templates/components/server/php.php
2024-05-20 15:37:46 +03:00

48 lines
968 B
PHP

<?php
/**
* Information about PHP configuration displayed in server configuration widget.
*
* @package Converter for Media
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<h4>PHP</h4>
<table>
<tbody>
<tr>
<td class="e">Version</td>
<td class="v">
<?php echo esc_html( phpversion() ?: '-' ); ?>
</td>
</tr>
<tr>
<td class="e">memory_limit</td>
<td class="v">
<?php echo esc_html( ini_get( 'memory_limit' ) ?: '-' ); ?>
</td>
</tr>
<tr>
<td class="e">max_execution_time</td>
<td class="v">
<?php echo esc_html( ini_get( 'max_execution_time' ) ?: '-' ); ?>
</td>
</tr>
<tr>
<td class="e">disable_functions</td>
<td class="v">
<?php echo esc_html( ini_get( 'disable_functions' ) ?: '-' ); ?>
</td>
</tr>
<tr>
<td class="e">SERVER_SOFTWARE</td>
<td class="v">
<?php echo esc_html( $_SERVER['SERVER_SOFTWARE'] ?? '-' ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput ?>
</td>
</tr>
</tbody>
</table>