Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- running PHP on Windows XP
- Raistlin Majere
April 24, 2006, 4:18 pm
rate this thread
Microsoft IIS 4 or higher was defaultly selected for MySQL. It did not
When I double-click a PHP file, a lightning-fast MS-DOS window opens
and closes. When I go to start, then go to run, then type "cmd", then
type the PHP file path, I take a long time to see what happened.
I want my PHP file to work on my browser offline just like uploading
and visiting my PHP file on a web host with my browser online. In other
words, I want the interactivity of my site to happen in my computer.
How can I do that?
Re: running PHP on Windows XP
You need to:
1. Have a working installation of IIS.
2. Configure PHP to work with IIS (either as a NSAPI module or
as a CGI application).
3. Place your PHP scripts in the appropriate directory (by default, IIS
looks for scripts in C:\Inetpub\www, your installation can have a
4. Call your PHP scripts via HTTP, not via file system. If you have
a script C:\Inetpub\www\script.php, you should address it as