I’ve got a number of accounts set up in Cyber Panel. Occasionally some will stop loading - producing a 500 error. Usually I can fix this issue by resetting the PHP on the account by either modifying the account or using the CLI cyberpanel changePHP command in terminal for the account. I haven’t been able to figure out why this is happening, but today I have a site that is having this issue, but the PHP reset isn’t fixing the problem.
Problem Domain: https://realhomesofgpab.ca/
I’ve done the following:
- Set PHP to 7.4 via CLI
cyberpanel changePHP --domainName realhomesofgpab.ca --php 7.4 - Modified the Website account via CyberPanel and setting the package and php and saving.
- restarted Litespeed via command line:
/usr/local/lsws/bin/lswsctrl restart - restarted nghttpx via command line:
/etc/init.d/nghttpx restart - restarted PHP via command:
killall -9 lsphp - Ran Fix Permissions on public_html folder in account’s File Manager within Cyber Panel
- PHP error log is showing PHP Notice for undefined offsets and indexes but no Fatal Errors.
Any ideas on what’s causing the 500 error, or what else I can do to troubleshoot this? Also be nice to know why it keeps happening to random sites.
Thanks!