vielen Dank für das Update auf 4.7.8
Mit meinem Webhoster netcup (php Version 7.2.19) scheint es nicht zu funktionieren in Verbindung mit OPCache.
Bei jedem Aufruf der Webseite erscheint eine Warnung in der Error.log, z.B.:
[Wed Jun 19 18:57:14 2019] [warn] [client 54.36.148.237] mod_fcgid: stderr: PHP Notice: Undefined offset: 0 in /var/www/vhosts/hosting.xxxxx.netcup.net/httpdocs/cmsimple/cmsimple/cms.php on line 40
meine cms.php, Zeile 40
if(function_exists('opcache_get_status') && opcache_get_status(true)[0] == 1)ini_set('opcache.enable', 0);
meine PHP-Konfiguration (Zend OPcache):
Code: Select all
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Disabled
Startup OK
Shared memory model mmap
Cache hits 10872
Cache misses 150
Used memory 21807856
Free memory 112409872
Wasted memory 0
Interned Strings Used memory 929792
Interned Strings Free memory 7458816
Cached scripts 150
Cached keys 297
Max keys 16229
OOM restarts 0
Hash keys restarts 0
Manual restarts 0
Directive Local Value Master Value
opcache.blacklist_filename no value no value
opcache.consistency_checks 0 0
opcache.dups_fix Off Off
opcache.enable On On
opcache.enable_cli Off Off
opcache.enable_file_override Off Off
opcache.error_log no value no value
opcache.file_cache no value no value
opcache.file_cache_consistency_checks 1 1
opcache.file_cache_only 0 0
opcache.file_update_protection 2 2
opcache.force_restart_timeout 180 180
opcache.huge_code_pages Off Off
opcache.inherited_hack On On
opcache.interned_strings_buffer 8 8
opcache.lockfile_path /tmp /tmp
opcache.log_verbosity_level 1 1
opcache.max_accelerated_files 10000 10000
opcache.max_file_size 0 0
opcache.max_wasted_percentage 5 5
opcache.memory_consumption 128 128
opcache.opt_debug_level 0 0
opcache.optimization_level 0x7FFFBFFF 0x7FFFBFFF
opcache.preferred_memory_model no value no value
opcache.protect_memory 0 0
opcache.restrict_api no value no value
opcache.revalidate_freq 2 2
opcache.revalidate_path Off Off
opcache.save_comments 1 1
opcache.use_cwd On On
opcache.validate_permission Off Off
opcache.validate_root Off Off
opcache.validate_timestamps On On
Danke & Grüsse
meyomey