Bug #80864 [NEW]: opcache.file-cache - problems on shared hosting

From: Date: Sun, 14 Mar 2021 16:41:34 +0000
Subject: Bug #80864 [NEW]: opcache.file-cache - problems on shared hosting
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232707@lists.php.net to get a copy of this message
From: t dot fronk92 at gmx dot de Operating system: Debian 10 PHP version: 7.4.16 Package: opcache Bug Type: Bug Bug description:opcache.file-cache - problems on shared hosting Description: ------------ Hi, i have a server with multiple WordPress Websites. Every Website has his own User and PHP-FPM Pool. I tried to activate OPcache securely - because of the Shared Cache Problem - with this settings in every Pool: php_admin_value[opcache.enable] = 1 php_admin_value[opcache.enable_cli] = 0 php_admin_value[opcache.memory_consumption] = 256 php_admin_value[opcache.max_accelerated_files] = 32531 php_admin_value[opcache.validate_timestamps] = 1 php_admin_value[opcache.revalidate_freq] = 0 ;php_admin_value[opcache.fast_shutdown] = 0 php_admin_value[opcache.file_cache] = /home/website1/opcache php_admin_value[opcache.file_cache_only] = 1 php_admin_value[opcache.validate_permission] = 1 Every Pool has his own settings for file-cache. I understand these settings that there is no shared memory... only the file-cache with 256 MB for every website. But it didnt work as expected. NGINX has many SEGFAULTS with PHP7.4 in error.log. When i deactivate OPcache all is working fine. With PHP7.3 i never get these SEGFAULTS. Maybe there is a Bug in PHP or Configs are wrong - i really dont know. I hope you can help me or show me a working solution. THX Test script: --------------- I dont have. -- Edit bug report at https://bugs.php.net/bug.php?id=80864&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80864&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80864&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80864&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80864&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80864&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80864&r=support Expected behavior: https://bugs.php.net/fix.php?id=80864&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80864&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80864&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80864&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80864&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80864&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80864&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80864&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80864&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80864&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80864&r=mysqlcfg

« previous php.bugs (#232707) next »