I went nuts that suddenly my site went offline, throwing this error “error occured while processing this directive” and when i observed the source code it showed “shtml 500 server error” , especially during the time i was on vacation. I really think this is because my cpanel updated automatically to latest version of apache and php and i never knew it.
[error occured while processing this directive]
After couple of hours of investigation, i checked my .htaccess (all is well) and the culprit was php.ini present in the domain folder. It seems to be the error caused by some unknown line directive in php.ini was the root cause of the problem. I dont know what line causing this problem and there are tonnes of lines in that file. I quickly removed the php.ini under the domain and the site worked fine. This way i could assign the global settings of php and disabled customized php.ini specific to my site, which is the root cause of the problem.
If you are with bluehost, hostmonster or any other host, be sure to check php.ini within public_html folder and it is the issue.
Hope this helps! Searched for solution on web and nowhere i could find a solution. I am documenting it during my vacation 🙂