| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/inc/admin/welcome/pages/ |
Upload File : |
<?php
$go = true;
$mem = intval(substr(ini_get('memory_limit'), 0, -1));
if ($mem < 256) $go = false;
$exec = intval(ini_get('max_execution_time'));
if ($exec < 30) $go = false;
$upl = intval(substr(size_format( wp_max_upload_size() ), 0, -1));
if ($upl < 12 ) $go = false;
if ( ! (function_exists( 'fsockopen' ) || function_exists( 'curl_init' ) ) )
{
$go = false;
$fsockopen = true;
}
$posting['gzip']['name'] = 'GZip';
if ( !is_callable( 'gzopen' ) )
{
$go = false;
}
// WP Remote Get Check
$posting['wp_remote_get']['name'] = esc_html__( 'Remote Get', 'thevoux');
$response = wp_safe_remote_get( 'http://www.woothemes.com/wc-api/product-key-api?request=ping&network=' . ( is_multisite() ? '1' : '0' ) );
if ( !( !is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) )
{
$go = false;
}
if (!ini_get('allow_url_fopen'))
{
$go = false;
}
?>
<table class="widefat" cellspacing="0">
<thead>
<thead>
<tr>
<td><?php esc_html_e( 'Requirements', 'thevoux' ); ?></td>
<td></td>
</tr>
</thead>
<?php if ( function_exists( 'ini_get' ) ) : ?>
<tr>
<td data-export-label="Server Memory Limit">
<?php esc_html_e( 'Server Memory Limit', 'thevoux' ); ?>:
</td>
<td>
<?php
$mark = $mem >= 256 ? 'yes' : 'error';
?>
<?php if ($mark == 'yes'): ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-yes"></span><?php echo ini_get('memory_limit'); ?>
</mark>
<?php else: ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-warning"></span> <span><?php echo ini_get('memory_limit'); ?></span>.
<?php esc_html_e('The recommended value is 256M.', 'thevoux'); ?>
</mark>
<?php endif; ?>
</td>
</tr>
<tr>
<td data-export-label="PHP Version"><?php esc_html_e( 'PHP Version:', 'thevoux' ); ?></td>
<td>
<?php
if ( function_exists( 'phpversion' ) ) {
$phpversion = phpversion();
$mark = version_compare($phpversion, '5.6', '>') ? 'yes' : 'error';
?>
<?php if ($mark == 'yes'): ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-yes"></span><?php echo esc_html($phpversion); ?>
</mark>
<?php else: ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-warning"></span> <span><?php echo esc_html($phpversion); ?></span>.
<?php esc_html_e('Required PHP Version is at least 5.6. WordPress <a href="https://wordpress.org/about/requirements/" target="_blank">recommends using at least PHP 7.0.</a> ', 'thevoux'); ?>
</mark>
<?php endif; ?>
<?php } ?>
</td>
</tr>
<tr>
<td data-export-label="PHP Time Limit"><?php esc_html_e( 'PHP Time Limit', 'thevoux' ); ?>:</td>
<td>
<?php
$mark = $exec >= 30 ? 'yes' : 'error';
?>
<?php if ($mark == 'yes'): ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-yes"></span><?php echo ini_get('max_execution_time'); ?>
</mark>
<?php else: ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-warning"></span> <span><?php echo ini_get('max_execution_time'); ?></span>.
<?php esc_html_e('The recommended value is 30.', 'thevoux'); ?>
</mark>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>
<tr>
<td data-export-label="Max Upload Size"><?php esc_html_e( 'Max Upload Size', 'thevoux' ); ?>:</td>
<td>
<?php
$mark = $upl >= 12 ? 'yes' : 'error';
?>
<?php if ($mark == 'yes'): ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-yes"></span><?php echo size_format( wp_max_upload_size() ); ?>
</mark>
<?php else: ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-warning"></span> <span><?php echo size_format( wp_max_upload_size() ); ?></span>.
<?php esc_html_e('The recommended value is 12M.' , 'thevoux'); ?>
</mark>
<?php endif; ?>
</td>
</tr>
<?php
$posting = array();
// fsockopen/cURL
$posting['fsockopen_curl']['name'] = 'fsockopen/cURL';
$posting['fsockopen_curl']['help'] = '<a href="#" class="help_tip" data-tip="' . esc_attr__( 'Payment gateways can use cURL to communicate with remote servers to authorize payments, other plugins may also use it when communicating with remote services.', 'thevoux' ) . '">[?]</a>';
if ( (function_exists( 'fsockopen' ) || function_exists( 'curl_init' ) ) ) {
$posting['fsockopen_curl']['success'] = true;
} else {
$posting['fsockopen_curl']['success'] = false;
$posting['fsockopen_curl']['note'] = 'Disabled';
}
// GZIP
$posting['gzip']['name'] = 'GZip';
if ( is_callable( 'gzopen' ) ) {
$posting['gzip']['success'] = true;
} else {
$posting['gzip']['success'] = false;
$posting['gzip']['note'] = 'Disabled.';
}
// WP Remote Get Check
$posting['wp_remote_get']['name'] = esc_html__( 'Remote Get', 'thevoux');
$response = wp_safe_remote_get( 'http://www.woothemes.com/wc-api/product-key-api?request=ping&network=' . ( is_multisite() ? '1' : '0' ) );
if ( !is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) {
$posting['wp_remote_get']['success'] = true;
} else {
$posting['wp_remote_get']['note'] = 'Disabled.';
$posting['wp_remote_get']['success'] = false;
}
$posting = apply_filters( 'woocommerce_debug_posting', $posting );
foreach ( $posting as $poste ) {
$mark = ! empty( $poste['success'] ) ? 'yes' : 'error';
?>
<tr>
<td data-export-label="<?php echo esc_html( $poste['name'] ); ?>"><?php echo esc_html( $poste['name'] ); ?>:</td>
<td>
<mark class="<?php echo esc_attr($mark); ?>">
<?php echo ! empty( $poste['success'] ) ? '<span class="dashicons dashicons-yes"></span>' : '<span class="dashicons dashicons-warning"></span>'; ?>
<span><?php echo ! empty( $poste['note'] ) ? esc_html( $poste['note'] ) : ''; ?></span>
</mark>
</td>
</tr>
<?php
}
?>
<tr>
<td data-export-label="XML Reader"><?php esc_html_e( 'XML Reader', 'thevoux' ); ?>:</td>
<td>
<?php
$get_loaded_extensions = get_loaded_extensions();
$mark = in_array('xmlreader', $get_loaded_extensions) ? 'yes' : 'error';
?>
<?php if ($mark == 'yes'): ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-yes"></span> <?php esc_html_e('Installed' , 'thevoux'); ?>
</mark>
<?php else: ?>
<mark class="<?php echo esc_attr($mark); ?>">
<span class="dashicons dashicons-warning"></span>
<?php esc_html_e('Please install XMLReader extension for your PHP.' , 'thevoux'); ?>
</mark>
<?php endif; ?>
</td>
</tr>
</tbody>
</table>