Trying to create development environment

I’ve installed Apache on my local pc and am trying to get php to work with it. I’ve been following some guidelines which I guess may be slightly out of date and I’m having .problems I have made a number of changes/additions to the Apache httpd config file as follows:

DocumentRoot “D:/Websites”

This should be changed to whatever you set DocumentRoot to.

<Directory “D:/Websites”>

ScriptAlias /php/ “C:/PHP/”
AddType application/x-httpd-php .php
Action application/x-httpd-php “/php/php-cgi.exe”

If I try to run any php script, all I get is a 403 message

I’m obviously doing something stupid…any idea what it might be?

DJ

403 is not authorized, if I’m not mistaken. It has to do with the restrictions you’ve set under the <Directory “D:/Websites”> directive.

Sponsor our Newsletter | Privacy Policy | Terms of Service