PHP 5 + Apache 2 Access Forbidden Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reptoid
    New Member
    • Oct 2008
    • 1

    PHP 5 + Apache 2 Access Forbidden Error

    Hi there,

    I know this question has been probably asked before, but all the answers I found couldn't help me. I am a noob when it comes to Linux, so please bear with me. I am running Suse Enterprise Server 10 and I installed Apache 2 and PHP 5 according to the installation guidelines, and I created the common test.php file. The Problem is I keep getting this error (from apache errorlog):

    (13) Permission denied: file permissions deny server access.

    I checked the permissions, and eventually I set them to 755, and now Firefox tries to download the php file instead of executing it.

    Before any of you suggest it, I have added the php application type, as well as the php module to the apache config files.

    Any other ideas?

    Thanks in advance!

    Alex.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Did you restart Apache after making those changes?
    Does the phpinfo script display correctly?

    Comment

    Working...