•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,851 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,729 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 13131 | Replies: 6
![]() |
•
•
Join Date: Dec 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi all. I am just beginning with PHP and I'm having some trouble installing PHP5 with Apache 1.3.29. Both finally seem to be installed and running after some tweaking of the httpd.conf file AddModule comand. However when I run a php file in my browser (IE) I get a message that says: You don't have permission to access /C:/Program Files /Apache Group/Apache/htdocs/test.php on this server. I'm running XP pro under an Admin account that has complete access to everything, so I'm more inclined to believe that this is an Apache config problem. I've been all around the web searching, but I haven't found a thread that has given me a solution. Does anybody out there have any suggestions?
•
•
Join Date: Oct 2004
Location: Southwest UK
Posts: 131
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
Join Date: Sep 2004
Location: in the j00-kay
Posts: 114
Reputation:
Rep Power: 5
Solved Threads: 5
Check the default htaccess permissions in your httpd.conf file first to make sure everyone has global access to .php files.
Then it might be worth checking that there is a guest internet user in windows .. to be able to view the pages.
I'm assuming you have php set to parse all .php files on your server.
Another little note is that its a bad idea to run windows using an administrator account. Its advisable to setup another 'super user' account and use that and disable the admin account. (active administrator accounts is half a hacking job already done for them. Dont make it easy). Its also a good idea just incase someone exploits your webserver untill its properly setup and secured/checked.
Then it might be worth checking that there is a guest internet user in windows .. to be able to view the pages.
I'm assuming you have php set to parse all .php files on your server.
Another little note is that its a bad idea to run windows using an administrator account. Its advisable to setup another 'super user' account and use that and disable the admin account. (active administrator accounts is half a hacking job already done for them. Dont make it easy). Its also a good idea just incase someone exploits your webserver untill its properly setup and secured/checked.
I'm pink, therefore, im spam.
http://www.vivaci.net - Quality Webhosting
http://gaming.vivaci.net - FAST UK Gaming servers
http://www.getsigned.org - Free Image Uploads
http://www.vivaci.net - Quality Webhosting
http://gaming.vivaci.net - FAST UK Gaming servers
http://www.getsigned.org - Free Image Uploads
•
•
Join Date: Dec 2004
Location: Fort Bragg, NC
Posts: 189
Reputation:
Rep Power: 4
Solved Threads: 3
•
•
•
•
Another little note is that its a bad idea to run windows using an administrator account. Its advisable to setup another 'super user' account and use that and disable the admin account. (active administrator accounts is half a hacking job already done for them. Dont make it easy). Its also a good idea just incase someone exploits your webserver untill its properly setup and secured/checked.
Another meathod is checking the permission on the Folders and start pages files. Start pages like index.htm, index.html, start.php, index.php...those kinds of apges that people first see when viewing or trying to see your site or even accessing your site. I know this is alot to check, and even if it isent, those that I and htaccess have pointed out, you should consider checking on them. I personally hate those pages myself, its like the blue screen we Comp Techies hate so much as well as the X. GRR!!!
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Hi all. I am just beginning with PHP and I'm having some trouble installing PHP5 with Apache 1.3.29. Both finally seem to be installed and running after some tweaking of the httpd.conf file AddModule comand. However when I run a php file in my browser (IE) I get a message that says: You don't have permission to access /C:/Program Files /Apache Group/Apache/htdocs/test.php on this server. I'm running XP pro under an Admin account that has complete access to everything, so I'm more inclined to believe that this is an Apache config problem. I've been all around the web searching, but I haven't found a thread that has given me a solution. Does anybody out there have any suggestions?
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi all. I am just beginning with PHP and I'm having some trouble installing PHP5 with Apache 1.3.29. Both finally seem to be installed and running after some tweaking of the httpd.conf file AddModule comand. However when I run a php file in my browser (IE) I get a message that says: You don't have permission to access /C:/Program Files /Apache Group/Apache/htdocs/test.php on this server. I'm running XP pro under an Admin account that has complete access to everything, so I'm more inclined to believe that this is an Apache config problem. I've been all around the web searching, but I haven't found a thread that has given me a solution. Does anybody out there have any suggestions
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Forbidden | You don't have permission to access /~username on this server. (Linux Servers and Apache)
- HTTP Error 403 - Forbidden error for accessing html and asp page (ASP)
- Google 403 Forbidden error (Search Engine Optimization)
- 403 Forbidden You don't have permission to access /index.htm on this server. (Linux Servers and Apache)
Other Threads in the PHP Forum
- Previous Thread: embed javascript in php
- Next Thread: Problems with PHP and the mysql_connect() command.


Linear Mode