problem with apache after installing php - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

problem with apache after installing php

nneomanneoma Posts: 61Member
after installing php on my PC, i received the following error when i tried to get to http:\localhost

Forbidden
You don't have permission to access / on this server.
Apache/2.0.54(Win 32) PHP/5.1.0b2
Server at localhost Port 80

how do i rectify it?

Comments

  • ITAITA Posts: 463Member
    This is exactly as it says. You've probably turned off directory listings, and not given read permission to the folder, so it can't be displayed to the user. Basically, it's a permissions problem. Try putting a 'index.html' in the folder, and you should find that the error disappears.

    Regards,

    Isaac

    "Let us smite the evil slime eating hordes who may befall us on our quest to be the ultimate programmers of the known universe!"

  • Mark StrijbosMark Strijbos Posts: 82Member
    : You've probably turned off directory listings

    or you have forgotten to set a valid DocumentRoot. AFAIK '/' is the default value for this setting and that won't work an a Windoze system

Sign In or Register to comment.