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: PHP Testing |
|
Author |
|
costaup
Joined: 13 Apr 2006 Posts: 5 Location: UK
|
Posted: Fri 14 Apr '06 1:42 Post subject: PHP Testing |
|
|
when l am trying to test my PHP5, with this code, http://localhost/index.php from notepad Today is <? print strftime("%m/%d/%Y"); ?> saved as index.php5,restart apache then open broswer and l get this error below
Forbidden
You don't have permission to access / on this server.
--------------------------------------------------------------------------------
Apache/2.0.55 (Win32) Server at localhost Port 80 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 14 Apr '06 11:57 Post subject: |
|
|
Seems to be that the path in rules for Documents rules is false |
|
Back to top |
|
NthDegree
Joined: 14 Mar 2006 Posts: 14
|
Posted: Wed 26 Apr '06 23:32 Post subject: |
|
|
or your NTFS file permissions dont allow for read and execute access |
|
Back to top |
|
romdos
Joined: 17 Aug 2006 Posts: 1 Location: california
|
Posted: Thu 17 Aug '06 15:45 Post subject: |
|
|
i don't know this stuff at all so i might be way offbase, but was having same problem. added:
<Directory "c:/your/path/to/php">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
to httpd.conf and that solved it. now, on to actually doing something |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 17 Aug '06 16:36 Post subject: |
|
|
Why do you don't run the scripts in the normals htdocs folder? |
|
Back to top |
|
|
|
|
|
|