Question about directory permissions with PHP
<p>Recently, while working on a shared host, I accidentally changed the permissions of my root website directory to 777. The correct permissions should have been 755. </p>

<p>Instantly, I started getting the "Internal Server Error" message for my pages. I figured that the Apache server wanted to stop requests because of a security threat.</p>

<p>I wonder what threat can be caused by giving full permissions to the root directory. </p>

<p>Can someone throw light on that? </p>

<p>Thanks!</p>
