PHP, server and file permission
<p>I am using a PHP application to generate links to files. Links are basically PHP files (abcd.php) with permission 644 put into a directory public with permission 755.</p>

<p>When I try to access public/abcd.php via browser I get a 500 Internal Server Error. If I change the file permission to 755, the system works.</p>

<p>I am using a cheap web server so I do not have much access to logs. What can be the cause of the problem? Can I solve the issue?</p>

<p>Thanks</p>
