PDA

View Full Version : can i write php in windows 200?


alaios
11-05-2002, 10:04 AM
how can i write php code in windows 2000?i want to run the files to see the results....in windows 98 i must upload the files to the server and extract them only when i am online.....
what is the best os for such work?

Nightfire
11-05-2002, 12:34 PM
I think http://www.firepages.com.au runs on Win 2000.

krycek
11-06-2002, 01:02 PM
Make sure you are running IIS (or even PWS but I dunno if php works on PWS) and then install php - download it from the php site (www.php.net (http://www.php.net))

I work on WinXP Pro with IIS 5 and PHP works perfectly :D

Just remember that to view your files properly they need to be in your iis webroot - normally c:\Inetpub\wwwroot\ or something similar. All you need to do then is type http://localhost/ into your browser to view the files :)

e.g.

mypage.php
stored as c:\Inetpub\wwwroot\myfolder\mypage.php
viewed as http://localhost/myfolder/mypage.php

That way it will get parsed just like on the net :)

::] krycek [::

firepages
11-06-2002, 03:50 PM
Originally posted by Nightfire
I think http://www.firepages.com.au runs on Win 2000.

aggghh :) I know what you meant Nightfire but gawd forbid I would ever run anything but a test/development site on windows !!

you can though find the apache/php/mysql etc bundle for win32 there which is what I assume Nightfire meant !

Alaios you can run PHP using Apache or IIS (and several other webservers) on win95/98/ME/NT/2K/XP errr basically all of them >3.1

Nightfire
11-06-2002, 03:53 PM
LOL :p

alaios
11-06-2002, 08:55 PM
can u explain plz?

firepages
11-07-2002, 03:17 AM
InsecureInternetServer, also known as IIS is, the standard (before/now part of ? the .NET family) Microsoft web-server , so its basically like Apache but less secure.

It is however the standard web-server for running ASP, and on windows it is faster than Apache. (Though apache 2 is supposed to give it a run for its money (again on win32)).

alaios
11-07-2002, 06:54 AM
and how i install it>?

brothercake
11-07-2002, 12:57 PM
IIS comes bundled with Win2K Pro/Server/Advanced Server and XP Pro. I don't know if its available as a seperate download. It can be installed on any 2K machine, but only on XP pro (not home)

Don't believe the hype - IIS is not inherently less secure than Apache, its just that more viruses are written to attack MS products than OS products, and it's commercial nature means that updates and fixes are slower to be produced.

All the same - for PHP dev I think you;d be better of with Apache; which is of course free at http://www.apache.org/ . Forget Apache 2 for now; stick with the latest 1.x.x version