OPcache conflicts can prevent WHMCS from functioning correctly. As a reseller on shared hosting, you cannot disable PHP extensions at server level because this would affect other accounts. You can disable OPcache for your specific WHMCS installation by adding a directive to your .htaccess file.

You will locate your WHMCS installation directory, edit the .htaccess file to disable OPcache and verify the change through WHMCS. This resolves OPcache conflicts without requiring server-level changes.
You will add a PHP directive to your WHMCS .htaccess file. This tells the server to disable OPcache for files in that directory, preventing conflicts with WHMCS operations.

public_html/whmcs/. Your installation path may differ depending on where you placed WHMCS during setup.
.htaccess and open it for editing.
php_flag opcache.enable Off

You can confirm OPcache is disabled by checking PHP configuration through WHMCS. This verifies the .htaccess directive is working correctly.

opcache.enable on the PHP Info page. Confirm the value shows Off in both the Local Value and Master Value columns.
If OPcache remains enabled after editing .htaccess, you may have edited the wrong file or the directive is not being processed correctly.
Your WHMCS installation now runs with OPcache disabled. You edited the .htaccess file to add a PHP directive, preventing OPcache conflicts without affecting other accounts on the server. WHMCS should no longer display OPcache warnings.
Monitor WHMCS over the next few days to confirm all functions work correctly. Check that invoices generate, emails send and automated tasks complete without errors. Our reseller hosting includes full cPanel access for managing your WHMCS installation.
Create isolated individual accounts for your clients and manage them all from one dashboard.
Get Reseller HostingUpgrade to VPS hosting for scalable resources and root access to your server.
Get VPS Hosting