Keep Server Online
  
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
  
or
  
 
  
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
  
Thank You! Steffen
  
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |    |   
 | 
     Topic: 403 on accessing PHP page | 
 |   
| Author | 
  | 
 
LithMaster
 
 
  Joined: 20 Sep 2006 Posts: 2
 
  | 
 Posted: Wed 20 Sep '06 2:27    Post subject: 403 on accessing PHP page | 
     | 
 
  | 
 
Hi everyone, I am using Win XP Pro SP2 with php 5 and I cannot access any php pages as I get a 403, in my error log I found:
 
 
 [client 127.0.0.1] client denied by server configuration: C:/PHP5/php-cgi.exe, referer: http://localhost/
 
 
Can anyone help? Thanks in advance | 
 
  | 
 
| Back to top | 
 | 
 
James Blond Moderator
  
  Joined: 19 Jan 2006 Posts: 7442 Location: EU, Germany, Next to Hamburg
  | 
 Posted: Wed 20 Sep '06 10:33    Post subject:  | 
     | 
 
  | 
 
try this in httpd.conf
 
 
 	  | Code: | 	 		  
 
<Directory "c:/PHP5">
 
    AllowOverride None
 
    Options None
 
    Order allow,deny
 
    Allow from all
 
</Directory>
 
 | 	 
  | 
 
  | 
 
| Back to top | 
 | 
 
LithMaster
 
 
  Joined: 20 Sep 2006 Posts: 2
 
  | 
 Posted: Thu 21 Sep '06 2:58    Post subject:  | 
     | 
 
  | 
 
| Thanks dude it worked! I can finally use PHP | 
 
  | 
 
| Back to top | 
 | 
 
 
 
 
 | 
 
 
 |  
 
 |  
  |   
 |