123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502 |
- <?php
- function opcache_get_status() {
- return array (
- 'opcache_enabled' => true,
- 'cache_full' => false,
- 'memory_usage' =>
- array (
- 'used_memory' => 12028872,
- 'free_memory' => 4235696,
- 'wasted_memory' => 512648,
- 'current_wasted_percentage' => 3.0556201934814,
- ),
- 'opcache_statistics' =>
- array (
- 'num_cached_scripts' => 59,
- 'num_cached_keys' => 78,
- 'max_cached_keys' => 223,
- 'hits' => 66817,
- 'last_restart_time' => 0,
- 'misses' => 126,
- 'blacklist_misses' => 0,
- 'blacklist_miss_ratio' => 0,
- 'opcache_hit_rate' => 99.81178017119,
- 'oom_restarts' => 0,
- 'manual_restarts' => 0,
- 'hash_restarts' => 0,
- ),
- 'scripts' =>
- array (
- '/var/www/phpweb/manual/en/toc/faq.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/faq.inc',
- 'hits' => 9,
- 'memory_consumption' => 5680,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345905,
- ),
- '/var/www/phpweb/downloads.php' =>
- array (
- 'full_path' => '/var/www/phpweb/downloads.php',
- 'hits' => 86,
- 'memory_consumption' => 9488,
- 'last_used' => 'Sat Mar 16 12:03:47 2013',
- 'last_used_timestamp' => 1363460627,
- 'timestamp' => 1355102402,
- ),
- '/var/www/phpweb/include/languages.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/languages.inc',
- 'hits' => 5605,
- 'memory_consumption' => 16984,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1362994804,
- ),
- '/var/www/phpweb/include/header.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/header.inc',
- 'hits' => 9,
- 'memory_consumption' => 20352,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1357938001,
- ),
- '/var/www/phpweb/manual/en/toc/getting-started.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/getting-started.inc',
- 'hits' => 9,
- 'memory_consumption' => 1936,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345409,
- ),
- '/var/www/phpweb/manual/en/faq.php' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/faq.php',
- 'hits' => 122,
- 'memory_consumption' => 5152,
- 'last_used' => 'Sat Mar 16 12:06:15 2013',
- 'last_used_timestamp' => 1363460775,
- 'timestamp' => 1363345906,
- ),
- '/var/www/phpweb/include/footer.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/footer.inc',
- 'hits' => 9,
- 'memory_consumption' => 1976,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/site.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/site.inc',
- 'hits' => 5605,
- 'memory_consumption' => 63488,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1354724402,
- ),
- '/var/www/phpweb/include/mirrors.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/mirrors.inc',
- 'hits' => 5605,
- 'memory_consumption' => 96160,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363419613,
- ),
- '/var/www/phpweb/manual/en/toc/refs.basic.vartype.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/refs.basic.vartype.inc',
- 'hits' => 9,
- 'memory_consumption' => 5032,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345844,
- ),
- '/var/www/phpweb/include/layout.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/layout.inc',
- 'hits' => 5605,
- 'memory_consumption' => 145704,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1356610801,
- ),
- '/var/www/phpweb/sites.php' =>
- array (
- 'full_path' => '/var/www/phpweb/sites.php',
- 'hits' => 73,
- 'memory_consumption' => 2024,
- 'last_used' => 'Sat Mar 16 12:10:10 2013',
- 'last_used_timestamp' => 1363461010,
- 'timestamp' => 1354724402,
- ),
- '/var/www/phpweb/search.php' =>
- array (
- 'full_path' => '/var/www/phpweb/search.php',
- 'hits' => 3083,
- 'memory_consumption' => 19728,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1347648005,
- ),
- '/var/www/phpweb/manual/en/toc/langref.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/langref.inc',
- 'hits' => 49,
- 'memory_consumption' => 7416,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345411,
- ),
- '/var/www/phpweb/manual/en/toc/index.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/index.inc',
- 'hits' => 132,
- 'memory_consumption' => 4680,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345409,
- ),
- '/var/www/phpweb/docs.php' =>
- array (
- 'full_path' => '/var/www/phpweb/docs.php',
- 'hits' => 73,
- 'memory_consumption' => 4536,
- 'last_used' => 'Sat Mar 16 12:04:36 2013',
- 'last_used_timestamp' => 1363460676,
- 'timestamp' => 1347648000,
- ),
- '/var/www/phpweb/include/shared-manual.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/shared-manual.inc',
- 'hits' => 122,
- 'memory_consumption' => 107688,
- 'last_used' => 'Sat Mar 16 12:06:15 2013',
- 'last_used_timestamp' => 1363460775,
- 'timestamp' => 1357938001,
- ),
- '/var/www/phpweb/include/mozopensearch.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/mozopensearch.inc',
- 'hits' => 14,
- 'memory_consumption' => 1232,
- 'last_used' => 'Sat Mar 16 12:00:34 2013',
- 'last_used_timestamp' => 1363460434,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/ip-to-country.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/ip-to-country.inc',
- 'hits' => 5605,
- 'memory_consumption' => 21840,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/version.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/version.inc',
- 'hits' => 775,
- 'memory_consumption' => 7880,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363321202,
- ),
- '/var/www/phpweb/include/errors.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/errors.inc',
- 'hits' => 691,
- 'memory_consumption' => 59888,
- 'last_used' => 'Sat Mar 16 12:10:33 2013',
- 'last_used_timestamp' => 1363461033,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/countries.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/countries.inc',
- 'hits' => 5605,
- 'memory_consumption' => 31184,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363419614,
- ),
- '/var/www/phpweb/error.php' =>
- array (
- 'full_path' => '/var/www/phpweb/error.php',
- 'hits' => 691,
- 'memory_consumption' => 61952,
- 'last_used' => 'Sat Mar 16 12:10:33 2013',
- 'last_used_timestamp' => 1363461033,
- 'timestamp' => 1347648000,
- ),
- '/var/www/phpweb/manual/en/toc/refs.basic.text.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/refs.basic.text.inc',
- 'hits' => 9,
- 'memory_consumption' => 3312,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345831,
- ),
- '/var/www/phpweb/include/loadavg.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/loadavg.inc',
- 'hits' => 3775,
- 'memory_consumption' => 12184,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1354738801,
- ),
- '/var/www/phpweb/include/prepend.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/prepend.inc',
- 'hits' => 5605,
- 'memory_consumption' => 23432,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/o.php' =>
- array (
- 'full_path' => '/var/www/phpweb/o.php',
- 'hits' => 1,
- 'memory_consumption' => 13424,
- 'last_used' => 'Sat Mar 16 18:11:21 2013',
- 'last_used_timestamp' => 1363482681,
- 'timestamp' => 1363482654,
- ),
- '/var/www/phpweb/include/pregen-events.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/pregen-events.inc',
- 'hits' => 1141,
- 'memory_consumption' => 840,
- 'last_used' => 'Sat Mar 16 12:15:07 2013',
- 'last_used_timestamp' => 1363461307,
- 'timestamp' => 1363419615,
- ),
- '/var/www/phpweb/opcache.php' =>
- array (
- 'full_path' => '/var/www/phpweb/opcache.php',
- 'hits' => 0,
- 'memory_consumption' => 13944,
- 'last_used' => 'Sun Mar 17 01:22:31 2013',
- 'last_used_timestamp' => 1363508551,
- 'timestamp' => 1363508542,
- ),
- '/var/www/phpweb/manual/en/toc/refs.calendar.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/refs.calendar.inc',
- 'hits' => 9,
- 'memory_consumption' => 2264,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345437,
- ),
- '/var/www/phpweb/manual/en/toc/security.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/manual/en/toc/security.inc',
- 'hits' => 19,
- 'memory_consumption' => 5352,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363345419,
- ),
- '/var/www/phpweb/include/pregen-news.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/pregen-news.inc',
- 'hits' => 1161,
- 'memory_consumption' => 57896,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363419615,
- ),
- '/var/www/phpweb/my.php' =>
- array (
- 'full_path' => '/var/www/phpweb/my.php',
- 'hits' => 34,
- 'memory_consumption' => 22640,
- 'last_used' => 'Sat Mar 16 12:15:15 2013',
- 'last_used_timestamp' => 1363461315,
- 'timestamp' => 1354724402,
- ),
- '/var/www/phpweb/include/pregen-confs.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/pregen-confs.inc',
- 'hits' => 678,
- 'memory_consumption' => 1400,
- 'last_used' => 'Sat Mar 16 12:02:49 2013',
- 'last_used_timestamp' => 1363460569,
- 'timestamp' => 1363419615,
- ),
- '/var/www/index.php' =>
- array (
- 'full_path' => '/var/www/index.php',
- 'hits' => 1,
- 'memory_consumption' => 744,
- 'last_used' => 'Sat Mar 16 12:01:20 2013',
- 'last_used_timestamp' => 1363460480,
- 'timestamp' => 1358644238,
- ),
- '/var/www/phpweb/index-stable.php' =>
- array (
- 'full_path' => '/var/www/phpweb/index-stable.php',
- 'hits' => 679,
- 'memory_consumption' => 22208,
- 'last_used' => 'Sat Mar 16 12:02:49 2013',
- 'last_used_timestamp' => 1363460569,
- 'timestamp' => 1347648003,
- ),
- '/var/www/phpweb/conferences/index.php' =>
- array (
- 'full_path' => '/var/www/phpweb/conferences/index.php',
- 'hits' => 462,
- 'memory_consumption' => 3872,
- 'last_used' => 'Sat Mar 16 12:15:07 2013',
- 'last_used_timestamp' => 1363461307,
- 'timestamp' => 1347648000,
- ),
- '/var/www/phpweb/support.php' =>
- array (
- 'full_path' => '/var/www/phpweb/support.php',
- 'hits' => 73,
- 'memory_consumption' => 1912,
- 'last_used' => 'Sat Mar 16 12:06:40 2013',
- 'last_used_timestamp' => 1363460800,
- 'timestamp' => 1347648005,
- ),
- '/var/www/phpweb/op.php' =>
- array (
- 'full_path' => '/var/www/phpweb/op.php',
- 'hits' => 0,
- 'memory_consumption' => 1448,
- 'last_used' => 'Sun Mar 17 01:34:33 2013',
- 'last_used_timestamp' => 1363509273,
- 'timestamp' => 1363509263,
- ),
- '/var/www/phpweb/include/posttohost.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/posttohost.inc',
- 'hits' => 342,
- 'memory_consumption' => 3824,
- 'last_used' => 'Sat Mar 16 12:09:18 2013',
- 'last_used_timestamp' => 1363460958,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/langchooser.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/langchooser.inc',
- 'hits' => 5605,
- 'memory_consumption' => 23784,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1347648001,
- ),
- '/var/www/phpweb/include/manual-lookup.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/manual-lookup.inc',
- 'hits' => 624,
- 'memory_consumption' => 26648,
- 'last_used' => 'Sat Mar 16 12:10:33 2013',
- 'last_used_timestamp' => 1363461033,
- 'timestamp' => 1354750802,
- ),
- '/var/www/phpweb/mailing-lists.php' =>
- array (
- 'full_path' => '/var/www/phpweb/mailing-lists.php',
- 'hits' => 342,
- 'memory_consumption' => 31576,
- 'last_used' => 'Sat Mar 16 12:09:18 2013',
- 'last_used_timestamp' => 1363460958,
- 'timestamp' => 1361200802,
- ),
- '/var/www/phpweb/include/last_updated.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/last_updated.inc',
- 'hits' => 5605,
- 'memory_consumption' => 840,
- 'last_used' => 'Sat Mar 16 12:16:31 2013',
- 'last_used_timestamp' => 1363461391,
- 'timestamp' => 1363419675,
- ),
- '/var/www/phpweb/include/email-validation.inc' =>
- array (
- 'full_path' => '/var/www/phpweb/include/email-validation.inc',
- 'hits' => 342,
- 'memory_consumption' => 9168,
- 'last_used' => 'Sat Mar 16 12:09:18 2013',
- 'last_used_timestamp' => 1363460958,
- 'timestamp' => 1362175205,
- ),
- '/var/www/phpweb/index.php' =>
- array (
- 'full_path' => '/var/www/phpweb/index.php',
- 'hits' => 679,
- 'memory_consumption' => 1840,
- 'last_used' => 'Sat Mar 16 12:02:49 2013',
- 'last_used_timestamp' => 1363460569,
- 'timestamp' => 1347648003,
- ),
- ),
- );
- }
- 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',
- ),
- );
- }
|