View Full Version : parsing php with a webserver

12-11-2002, 10:53 AM

I want to host my site locally so that I can test it before I upload any changes to the 'live' site. I have configured my Win2K workstation machine to be able to parse PHP using the following link as a guideline to setting it up:

(note: problem with this site is white font color on white background, but if you highlight the page you can see the text)
The problem I am now having is that when I open the index.php file it doesn't run the php scripts.
I have copied the site into wwwroot and tried to access it using the following url:

I get a security alert error message. Message is :

Security Alert! The PHP CGI cannot be accessed directly.

The PHP CGI binary was compiled with force-cgi-redirect-enabled.

If anyone has already configured their machine to run php please advise me. I am running Win2K, IIS5 and MySQL 3.xx.xx

Can anyone help???

12-11-2002, 01:04 PM
What server does your host use? It makes sense to run php locally on the same server as your host. The reason I ask is that you could put apache on your machine.

You can grab the php-dev bundle from firepages (http://www.firepages.com.au). It will do everything that you need to do.

Failing that, if you need to stick to IIS, I can't help you.