PHP, server and file permission -


i using php application generate links files. links php files (abcd.php) permission 644 put directory public permission 755.

when try access public/abcd.php via browser 500 internal server error. if change file permission 755, system works.

i using cheap web server not have access logs. can cause of problem? can solve issue?

thanks

644 on server side script have problems because no executable flag set

644 means owner can read , write , rest of world can read

755 means owner can , rest of world can read , execute.

by rest of world mean, other users on server (eg. apache web server hosting runs upon)


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -