Link to home
Start Free TrialLog in
Avatar of jay_eire
jay_eireFlag for United States of America

asked on

deploy PHP website, WIN2K Server

Hi Guys,
I have a PHP website, and i am trying to deploy it on an WIN2K Server. I have copied the files over into a virtual directory in IIS, but when i type in the name of the site its prompting me to download or open the page.

what steps do i follow in order to deploy a PHP website?

Thanks
Jay.
Avatar of LinuxNubb
LinuxNubb
Flag of United States of America image

You have to add .php as a mime type in php, and you have to specify the php executable for it.

Having said that though, I would strongly recommend using apache for windows.  It is much easier to configure with php, and more secure as well.
Avatar of jay_eire

ASKER

sorry, im really new to the world of PHP.

Its not my site I am deploying.... where would I get a mime from? the site has to be rolled out on a windows box unfortunately
Understood it's windows, but does it have to be IIS?  

You do 'get' a mime type, it's something you add into IIS.  IF you go into IIS you should see some defaults like ASP and stuff, you have to add php here.
yep it has to be IIS.

Im in C:\WINNT|System32\   but i cant find anything in there for PHP or mime
no, open IIS manager under admin tools.
Im in IIS, and in the properties of the virtual directory, and in application configuration.
ASKER CERTIFIED SOLUTION
Avatar of psadac
psadac
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial