OPcache dramatically improves PHP performance by caching compiled bytecode.
Check If Enabled
php -m | grep OPcacheEnable
Edit /etc/php/8.3/fpm/php.ini:
opcache.enable=1\nopcache.memory_consumption=128\nopcache.interned_strings_buffer=16\nopcache.max_accelerated_files=10000\nopcache.revalidate_freq=60\nopcache.fast_shutdown=1systemctl restart php8.3-fpmMonitor
Use a PHP script to check OPcache status or install a monitoring tool like opcache-gui.