tags:

views:

1105

answers:

7

Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and MySQL on IIS7.0 from scratch. PHP and MySQL are essential for installing any CMS... Please help.. Cheers..

A: 

It's supposed to work via FastCGI. But I haven't had great success (using Vista). I can get PHP to run, but it crashes after a page loads (FastCGI does). So I'm modding you up. I'd like to see a reliable answer myself.

Stephen Cox
+4  A: 

Have you taken a look at this:

http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/

MySQL should be pretty straight forward.

Let us know what problems you're encountering...

HTH

Kev
A: 

From my experience with windows/apache it's just a matter of install MySQL, I can't Imagine that IIS/Apache has anything to do with this.

Unkwntech
A: 

Apache is a major pain to get running in Vista. And II7 (and 6) are suppose to run PHP fine. So why bother with Apache?

Stephen Cox
i had no trouble with apache itself, only the php's session and upload dirs had to be set specially
Spikolynn
A: 

I would suggest if you are going for a PHP and MySQL install to instead use WAMP. It works great and is easy to add extensions and modify everything. I use it for work and love it.

jtyost2
A: 

One of the IIS developers has an excellent walkthrough here:

http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx

However, for the love of god why?

FlySwat
We are a dot net shop, but one of our customers dumped a home brew of php4 mysql4 phpmyadmin and their own code. It would take 3 months of rewrite or just run it on a stand alone machine to rot in cyberspace. The reason is you use what you know, and what you can get away with.
Dr. Zim
A: 
Zack Peterson