Overnight all of our WHM servers (and a few 3rd party ones we manage) decided that all of their websites will suddenly return HTTP 500. Inspecting the Apache error log at "/usr/local/apache/logs/error_log" I found huge volumes of this:
I immediately checked the PHP files, which were either 775 or 664 as usual, however noticed that PHP-FPM had been switched off for every domain.
The quick answer to this was to turn on PHP-FPM again by: Software > MultiPHP Manager > PHP-FPM > Enable On All Domains
Question: Why did PHP-FPM turn itself off overnight for all sites without warning?
Interestingly this did not impact two of our WHM servers of which also use CloudLinux. Only the pure CentOS 7 installations (about 10 of them) were impacted.
Code:
SoftException in Application.cpp:267: File "/home/example/public_html/app.php" is writeable by group, referer: https://www.example.com/
The quick answer to this was to turn on PHP-FPM again by: Software > MultiPHP Manager > PHP-FPM > Enable On All Domains
Question: Why did PHP-FPM turn itself off overnight for all sites without warning?
Interestingly this did not impact two of our WHM servers of which also use CloudLinux. Only the pure CentOS 7 installations (about 10 of them) were impacted.
Last edited: