Re: [PHP] PHP stuck sometimes, unpredictably, apache2 not frozen

This issue sounds unrelated to PHP though. Or maybe not!
In apache2.conf you do have a log directive, right?
You can add: “LogLevel info” in there, so ‘systemctl restart apache2’, try accessing the site and check the error log for any clues.

···

Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
“Oh, the cruft.”, egrep -v ‘^$|^.*#’ ¯_(ツ)_/¯ :slight_smile:
[How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]