Page 1 of 1

PHP Rendering on IIS

Posted: Mon Mar 23, 2009 12:49 pm
by Seesh
Hi, I'm new to php installation on IIS. I'm having a hard time rendering my php files on IIS.

I was getting a CGI timeout which seemed to be fixed using the following link http://blog.micfo.com/php-hosting-tutor ... -with-iis/.

Now I get the source code displayed on my page

Sample:

phpinfo() PHP Version => 5.2.9-1 System => Windows NT ..... 5.1 build 2600 Build Date => Mar 5 2009 20:01:54 Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--...

I read about the need to install fastcgi which too is not solving the problem.
http://learn.iis.net/page.aspx/247/usin ... on-iis-60/

Any suggestions?

I am working on an Windows XP machine on IIS 5.1.

Thanks.

Re: PHP Rendering on IIS

Posted: Mon Mar 23, 2009 6:10 pm
by JAB Creations
Now why would any one want to use a free framework that is supported by free web servers on free operating systems?

Get yourself a free copy of XAMPP and you'll be up and running Apache web server and PHP in mere minutes after installation.

However if you insist on using IIS I recommend starting here.

Re: PHP Rendering on IIS

Posted: Thu Mar 26, 2009 8:55 pm
by Doug G
Now why would any one want to use a free framework that is supported by free web servers on free operating systems?
To be able to use all the nice stuff IIS lets you do that Apache doesn't.

PHP works fine with IIS. Review the installation procedure you used, review the instructions provided with your php download. For myself, I use the isapi manual installation, which has worked on every version of my windows servers from NT4 through Vista, and since Vista uses IIS7 I assume php runs fine on W2008 server.

Re: PHP Rendering on IIS

Posted: Fri Mar 27, 2009 7:34 am
by Seesh
Thanks. I finally used XAMPP and was able to get the *php files to work! However, I am using MS SQL instead of MySQL so am working around figuring out some connectivity issues there.