You are here

function opcache_get_configuration in Production check & Production monitor 7

Same name and namespace in other branches
  1. 6 includes/prod_check.opcache.data_sample.inc \opcache_get_configuration()

File

includes/prod_check.opcache.data_sample.inc, line 448

Code

function opcache_get_configuration() {
  return array(
    'directives' => array(
      'opcache.enable' => true,
      'opcache.enable_cli' => false,
      'opcache.use_cwd' => true,
      'opcache.validate_timestamps' => true,
      'opcache.inherited_hack' => true,
      'opcache.dups_fix' => false,
      'opcache.revalidate_path' => false,
      'opcache.log_verbosity_level' => 4,
      'opcache.memory_consumption' => 16777216,
      'opcache.interned_strings_buffer' => 8,
      'opcache.max_accelerated_files' => 200,
      'opcache.max_wasted_percentage' => 0.05,
      'opcache.consistency_checks' => 0,
      'opcache.force_restart_timeout' => 180,
      'opcache.revalidate_freq' => 0,
      'opcache.preferred_memory_model' => '',
      'opcache.blacklist_filename' => '/etc/zo_blacklist.txt',
      'opcache.max_file_size' => 0,
      'opcache.error_log' => '',
      'opcache.protect_memory' => false,
      'opcache.save_comments' => true,
      'opcache.load_comments' => true,
      'opcache.fast_shutdown' => true,
      'opcache.enable_file_override' => false,
      'opcache.optimization_level' => 4294967295,
    ),
    'version' => array(
      'version' => '7.0.1-dev',
      'opcache_product_name' => 'Zend Optimizer+',
    ),
    'blacklist' => array(
      0 => '/var/www/www.php.net/manual/es',
      1 => '/var/www/www.php.net/manual/it',
      2 => '/var/www/www.php.net/manual/bg',
      3 => '/var/www/www.php.net/manual/fa',
      4 => '/var/www/www.php.net/manual/fr',
      5 => '/var/www/www.php.net/manual/kr',
      6 => '/var/www/www.php.net/manual/pt_BR',
      7 => '/var/www/www.php.net/manual/tr',
      8 => '/var/www/www.php.net/manual/de',
      9 => '/var/www/www.php.net/manual/ro',
      10 => '/var/www/www.php.net/manual/ru',
      11 => '/var/www/www.php.net/manual/zh',
      12 => '/var/www/www.php.net/manual/ja',
      13 => '/var/www/www.php.net/manual/pl',
      14 => '/var/www/www.php.net/manual/sr',
    ),
  );
}