| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/ndb/wp-content/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<?php Util_Ui::postbox_header( __( 'Opcode Cache', 'w3-total-cache' ), '', 'system_opcache' ); ?>
<table class="form-table">
<?php
Util_Ui::config_item( array(
'key' => 'opcache.engine',
'label' => 'Opcode Cache',
'control' => 'selectbox',
'value' => $opcode_engine,
'selectbox_values' => array(
'Not Available' => array(
'disabled' => ( $opcode_engine !== 'Not Available' ),
'label' => __( 'Not Available', 'w3-total-cache' ),
),
'OPcache' => array(
'disabled' => ( $opcode_engine !== 'OPcache' ),
'label' => __( 'Opcode: Zend Opcache', 'w3-total-cache' ),
),
'APC' => array(
'disabled' => ( $opcode_engine !== 'APC' ),
'label' => __( 'Opcode: Alternative PHP Cache (APC / APCu)', 'w3-total-cache' ),
),
),
) );
Util_Ui::config_item( array(
'key' => 'opcache.validate_timestamps',
'label' => 'Validate timestamps:',
'control' => 'checkbox',
'disabled' => true,
'value' => $validate_timestamps,
'checkbox_label' => __( 'Enable', 'w3-total-cache' ),
'description' => __( 'Once enabled, each file request will update the cache with the latest version.'
. 'When this setting is off, the Opcode Cache will not check, instead PHP must be restarted in order for setting changes to be reflected.', 'w3-total-cache' )
) );
?>
</table>
<?php
Util_Ui::button_config_save( 'general_opcache', '<input type="submit" name="w3tc_opcache_flush" value="' .
__( 'Empty cache', 'w3-total-cache' ) . '"' .
( ( ( $opcode_engine !== 'Not Available' ) ) ? '' : ' disabled="disabled" ' ) .
' class="button" />' );
?>
<?php Util_Ui::postbox_footer(); ?>