logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP Testing
Author
costaup



Joined: 13 Apr 2006
Posts: 5
Location: UK

PostPosted: Fri 14 Apr '06 1:42    Post subject: PHP Testing Reply with quote

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

PostPosted: Fri 14 Apr '06 11:57    Post subject: Reply with quote

Seems to be that the path in rules for Documents rules is false
Back to top
NthDegree



Joined: 14 Mar 2006
Posts: 14

PostPosted: Wed 26 Apr '06 23:32    Post subject: Reply with quote

or your NTFS file permissions dont allow for read and execute access
Back to top
romdos



Joined: 17 Aug 2006
Posts: 1
Location: california

PostPosted: Thu 17 Aug '06 15:45    Post subject: Reply with quote

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 Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 17 Aug '06 16:36    Post subject: Reply with quote

Why do you don't run the scripts in the normals htdocs folder?
Back to top


Reply to topic   Topic: PHP Testing View previous topic :: View next topic
Post new topic   Forum Index -> Other Software