Mandalorian Posted January 26, 2022 Share Posted January 26, 2022 Hi Guys, WHMCS says WHMCS does not work with any caching tools. Have you used "Zend Opcache" on cPanel to improve WHMCS performance? If yes, did it cause any problems with the operation of WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
ArcFires Posted August 16 Share Posted August 16 I'm sure you got your question answered--this is for anyone else trying to fix their WHMCS after enabling OPcode cache/OPcode caching/Zend OPcache (dropping in some SEO key words). I'm struggling to get WHMCS cron jobs running again after enabling OPcache. I've had to comment out some of these lines just to log in (I think 2FA in my WHMCS admin login was clashing with Litespeed or OPcache); # BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) # These php module parameters are breaking WHMCS admin logins # <IfModule php8_module> # php_value date.timezone "America/Boise" # php_flag display_errors On # php_value max_execution_time 300 # php_value max_input_time 600 # php_value max_input_vars 1000 # php_value memory_limit 512M # php_value post_max_size 500M # php_value session.gc_maxlifetime 1440 # php_value session.save_path "/var/cpanel/php/sessions/alt-php81" # php_value upload_max_filesize 200M # php_flag zlib.output_compression On # </IfModule> # These Litespeed module parameters might also be breaking WHMCS <IfModule lsapi_module> php_value date.timezone "America/Boise" php_flag display_errors On php_value max_execution_time 300 php_value max_input_time 600 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 500M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/alt-php81" php_value upload_max_filesize 200M php_flag zlib.output_compression On </IfModule> # END cPanel-generated php ini directives, do not edit I really wish WHMCS supported Litespeed/OPcache, or at least made it more obvious that they don't. This have been an expensive nightmare to resolve. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted August 30 Share Posted August 30 I don't beleive there are any problems with WHMCS and the above lines, they're all fairly normal although the values seem way too high and won't protect your server from problems. (eg: who would be uploading a 200mb file to WHMCS?), I can't comment further as you didn't bother to say what wasn't working and what the errors were, both of which are essential to helping others or getting help here. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.