<p>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.</p>

[{'answer_id': 11921, 'author': 'Stephen Cox', 'author_id': 534, 'author_profile': 'https://Stackoverflow.com/users/534', 'pm_score': 0, 'selected': False, 'text': "<p>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.</p>\n"}, {'answer_id': 11924, 'author': 'Kev', 'author_id': 419, 'author_profile': 'https://Stackoverflow.com/users/419', 'pm_score': 4, 'selected': True, 'text': '<p>Have you taken a look at this:</p>\n\n<p><a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/" rel="nofollow noreferrer">http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/</a></p>\n\n<p>MySQL should be pretty straight forward.</p>\n\n<p>Let us know what problems you\'re encountering...</p>\n'}, {'answer_id': 12040, 'author': 'UnkwnTech', 'author_id': 115, 'author_profile': 'https://Stackoverflow.com/users/115', 'pm_score': 0, 'selected': False, 'text': "<p>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.</p>\n"}, {'answer_id': 13447, 'author': 'Stephen Cox', 'author_id': 534, 'author_profile': 'https://Stackoverflow.com/users/534', 'pm_score': 0, 'selected': False, 'text': '<p>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?</p>\n'}, {'answer_id': 21825, 'author': 'Justin Yost', 'author_id': 657, 'author_profile': 'https://Stackoverflow.com/users/657', 'pm_score': 0, 'selected': False, 'text': '<p>I would suggest if you are going for a PHP and MySQL install to instead use <a href="http://www.wampserver.com/en/" rel="nofollow noreferrer" title="WAMP">WAMP</a>. It works great and is easy to add extensions and modify everything. I use it for work and love it.</p>\n'}, {'answer_id': 21828, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 0, 'selected': False, 'text': '<p>One of the IIS developers has an excellent walkthrough here:</p>\n\n<p><a href="http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx" rel="nofollow noreferrer">http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx</a></p>\n\n<p>However, for the love of god why?</p>\n'}, {'answer_id': 94341, 'author': 'Zack Peterson', 'author_id': 83, 'author_profile': 'https://Stackoverflow.com/users/83', 'pm_score': 2, 'selected': False, 'text': '<p>I\'ve been given a PHP / MySQL web site that I\'m to host with IIS 7.0 on 64-bit Windows Server 2008.</p>\n\n<p>I\'m a .NET / MSSQL developer, and am unfamiliar with either PHP or MySQL.</p>\n\n<blockquote>\n  <p><strong><a href="https://stackoverflow.com/users/419/kev">Kev</a></strong> wrote:</p>\n  \n  <p>Have you taken a look at this&hellip;</p>\n</blockquote>\n\n<p>I don\'t know if any one implementation of Win64 PHP is more authoratative or popular than another.</p>\n\n<p>I\'m going to try following the steps in Kev\'s <a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/" rel="nofollow noreferrer">Enable FastCGI support in IIS7.0</a> article with file <em>php-5.2.5-x64-2007-11-12.zip</em> from <a href="http://www.fusionxlan.com/PHPx64.php" rel="nofollow noreferrer">fusion-x lan</a>.</p>\n\n<p>It\'s "PHP Version 5.2.5 (x64)", but according to <a href="http://www.php.net/downloads.php" rel="nofollow noreferrer">php.net</a>, the latest version is PHP 5.2.6.  Oh, well.</p>\n\n<hr>\n\n<ol>\n<li><p>Make sure "ISAPI Extensions" are installed in IIS (mine were).</p></li>\n<li><p>Download and then unzip <em>php-5.2.5-x64-2007-11-12.zip</em></p></li>\n<li><p>Copy contents of folder <em>php-5.2.5 (x64)</em> into *C:\\php*</p></li>\n<li><p>Copy file <em>C:\\php\\php.ini-dist</em> into folder *C:\\Windows*</p></li>\n<li><p>Rename file <em>C:\\Windows\\php.ini-dist</em> as <em>php.ini</em></p></li>\n<li><p>Edit <em>php.ini</em> in Notepad.  Remove leading semi-colon (;) from line:</p>\n\n<pre><code>;extension=php_mysql.dll\n</code></pre></li>\n<li><p>Save and close</p></li>\n<li><p>Copy file <em>C:\\php\\ext\\php_mysql.dll</em> into folder *C:\\Windows\\System32*</p></li>\n<li><p>Within IIS Manager\'s "Handler Mappings", choose "Add Script Map&hellip;"</p>\n\n<pre><code>Request path: *.php\nExecutable:   C:\\php\\php5isapi.dll\nName:         PHP\n</code></pre></li>\n<li><p>Install MySQL (someone had already installed <a href="http://dev.mysql.com/downloads/mysql/5.0.html" rel="nofollow noreferrer">MySQL 5.0</a> for me).</p></li>\n<li><p>Create file <em>C:\\inetpub\\wwwroot\\test.php</em> as</p>\n\n<pre><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;PHP Information&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;?php phpInfo(); ?&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n</code></pre></li>\n<li><p>Navigate to <em><a href="http://localhost/test.php" rel="nofollow noreferrer">http://localhost/test.php</a></em> in your web browser.  You will see a page of information about PHP.</p></li>\n</ol>\n\n<hr>\n\n<p>Roadblock: <a href="https://stackoverflow.com/questions/155308/how-do-i-get-php-to-work-with-adodb-and-mysql">How do I get PHP to work with ADOdb and MySQL?</a></p>\n'}]
['https://Stackoverflow.com/questions/11919', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1392/']