You are here: Re: running PHP on Windows XP « PHP Programming Language « IT news, forums, messages
Re: running PHP on Windows XP

Posted by NC on 04/24/06 19:56

Raistlin Majere wrote:
>
> 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?

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
different setting).
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
http://localhost/script.php

Cheers,
NC

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация