Jump to content

Requiring OPCache to be disabled for WHMCS 8.12 on domains that are shared with a WordPress site creates a conflict.


Recommended Posts

We are unable to disable OPCache for our WordPress website at domain.com for performance reasons, but having whmcs live at domain.com/help creates a conflict since 8.12 requires opcache to be disabled. Are there any alternatives to not upgrading to 8.12? aa

Link to comment
Share on other sites

Add a .user.ini File to the /help Directory:

Create a new file in your /help folder and name it .user.ini.

Add OPCache Setting to the file:

opcache.enable=0

Apply Changes:

    Make sure that the necessary configurations for your server to read .user.ini files are enabled.
    If necessary, restart PHP-FPM or the web server:

        sudo systemctl restart php-fpm
        sudo systemctl restart apache2 # or nginx

Conclusion: These steps will allow you to keep OPCache enabled on the main area of your WordPress site by simply disabling OPCache in the /help directory. This way, you can maintain your WordPress performance while remaining compatible with WHMCS 8.12.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated