So with MPM_Event, PHP 7.3.9, Opcache and CGI (on both servers below)
But that 1 isn't changing - in fact nothing is being cached like it was previously.
Exactly the same behavior on the CentOS 6 test environment as well:
One thing that should be noted is the documentation here:
PHP Options - EasyApache 4 - cPanel Documentation
We do state that opcache isn't compatible with CGI so I went to switch to DSO and I was reminded that DSO and Event are incompatible.
The rest of the warnings:
Warnings:
- EasyApache 4 does not currently support any opcode cacher other than OPCache.
- Opcode caching programs are not compatible with the suPHP or CGI PHP handlers. The caching program either does not function, or functions incorrectly.
- The system does not automatically configure OPCache. If you do not manually configure OPCache after you install it, it will provide no benefits.
- We strongly recommend the DSO PHP handler for the OPCache opcode cacher.
- Do not install multiple PHP caching programs on the same system. Multiple opcode caching programs consume excessive memory and degrade system performance.
I switched to FPM and I'm getting activity again:
Based on what I am seeing this configuration functions:
Code:
Server Version: Apache/2.4.41 (cPanel) OpenSSL/1.0.2t mod_bwlimited/1.4
Server MPM: event
[[email protected] public_html]# /opt/cpanel/ea-php73/root/usr/bin/php -v
PHP 7.3.9 (cli) (built: Sep 16 2019 17:39:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.9, Copyright (c) 1999-2018, by Zend Technologies
[[email protected] public_html]# uname -a
Linux server.domain.com 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Server API FPM/FastCGI