You are reading a single posting from this blog. For a complete listing, you should head home.

PHP script generating Apache 500 errors

October 17th, 2009

It’s a long story, so I’ll just post the important part. Remember that:

PHP scripts, under Apache, only run with files set with 644 permissions, in 755 directories.

If had know this 6 hours ago, I’d be a much happier man.

This might come in handy for people who have apps working perfectly in their local machines, but which cause 500 (Internal Server Errors) when uploaded to the production site, because of changed permissions. And also as a forever-to-be-kept note to myself.