illumepgh
But There is no option to change php version for opcache in /etc/php/7.4/fpm/php.ini as you mentioned
Could you check again and tell us how to let Opcache works with PHP 7.4?
When I check with command php -v I see Opcache is there with PHP 7.4 so I think all php files must run under PHP 7.4 and current OPcache version.
PHP 7.4.14 (cli) (built: Jan 13 2021 08:04:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.14, Copyright (c), by Zend Technologies