Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring PHP for IIS

Status
Not open for further replies.
Jul 14, 2003
116
CA
Hello,

I just set up IIS on my PC in order to do web development before pushing the hosting service. Everything went fine until I tried to set up PHP. I think the problem is coming from the .ini file but I could be wrong. See steps below:

1. Extracted files from zip file into directory c:\php
2. Renamed the file php.ini-recommended php.ini
3. I changed the following lines in the php.ini file
; cgi.force_redirect = 1 -> cgi.force_redirect = 0
; cgi.redirect_status_env = ; -> cgi.redirect_status_env = ENV_VAR_NAME

My initial thought is that I should not have removed the semicolons but I really have no idea. Any thoughts?

Thanks...
 
if i were you...i would install apache...almost no hosting service runs IIS with PHP. if you install apache, it will be very similar as if you were running it on the hosting services machine.

David Kuhn
------------------
 
yes, the XAMPP includes Apache, PHP and mySQL.
It only requires unpacking and running of a few files...

If it's for testing purposes only, you dont need to edit conf files, etc.

Olav Alexander Mjelde
Admin & Webmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top