Segmentation Fault Errors
On this page
Problem
You see the following error:
Segmentation fault
Cause
This error does not directly relate to the WHMCS software and can occur for many different reasons. It most commonly indicates that PHP is crashing and suggests there is an issue with your PHP installation. For example, this error often occurs because the OpCache PHP extension is malfunctioning.
Troubleshooting
Investigate your PHP configuration to find the error. You may want to use the strace
utility.
To determine whether the error is due to a problem with the OPcache
PHP extension, temporarily disable the extension by adding -d opcache.enable_cli=0
to your system cron command. For example:
/path/to/php -q -d opcache.enable_cli=0 /path/to/whmcs/crons/cron.php
If the error does not occur again after running this command, the problem is the OPcache
PHP extension.
Solution
Make the necessary changes to resolve the issue in your PHP configuration. For example, if the error is due to the OPcache
PHP extension, revert your changes and disable the OPcache PHP extension on your server.
For assistance, see your control panel’s documentation, or contact your hosting provider or system administrator:
Last modified: October 29, 2024