<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JimmyLi.net &#187; MS IIS</title>
	<atom:link href="http://jimmyli.net/tag/ms-iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimmyli.net</link>
	<description>Join the dark side</description>
	<lastBuildDate>Wed, 08 Sep 2010 07:41:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing PHP 5.3 on Microsoft IIS</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/</link>
		<comments>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 20:19:57 +0000</pubDate>
		<dc:creator>Jimmy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[MS IIS]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[PHP 5.3]]></category>

		<guid isPermaLink="false">http://jimmyli.net/?p=43</guid>
		<description><![CDATA[Update: This article is considered outdated. I&#8217;ve started an IIS Tutorial Series on how to install PHP and FastCGI on IIS 6.0. With the release of PHP 5.3.0 introducing a lot of new features and bug fixes, it also comes in with a lot of changes for Microsoft IIS users.  The biggest one of them [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update:</strong> This article is considered outdated. I&#8217;ve started an IIS Tutorial Series on <a href="http://jimmyli.net/2010/02/installing-fastcgi-and-php-for-iis-6-0/">how to install PHP and FastCGI on IIS 6.0</a>.</em></p>
<p>With the release of <a href="http://www.php.net/archive/2009.php#id2009-06-30-1">PHP 5.3.0</a> introducing a lot of new features and bug fixes, it also comes in with a lot of changes for Microsoft IIS users.  The biggest one of them is the way that PHP is now installed on IIS.  The PHP 5.3 package now no longer provides an ISAPI DLL file (which I&#8217;ve been using).  The only way to do it is through CGI, in which you should (have to?) use the FastCGI module.  Depending on which version of IIS you have, the setup will be different.  (I have IIS 6.0 on a Windows 2003 server).  Microsoft seems to have gotten more close with Zend recently and provided better support on IIS that they even have a dedicated <a href="http://php.iis.net/">website</a> for installing PHP on IIS and providing community support.  Everything you need to know for installing PHP on IIS is on that website.  PHP also now have a <a href="http://windows.php.net/">website</a> dedicated to supporting PHP on Windows, regardless of whether you&#8217;re using IIS or Apache on Windows.</p>
<p>One of the big drawbacks I&#8217;ve found was that PHP decided to remove the MS SQL Server connection driver in the PHP 5.3 package.  Just adding back in the DLLs from the old PHP packages back in the PHP directory did not work for me.  Not only did they make it harder for IIS users to install PHP, they had to make it harder for those to connect to MS SQL Server.  Upon doing some online searches, the driver used in PHP was very old (which explains <a href="http://jimmyli.net/2009/03/php-unable-to-connect-to-mssql/">my post</a> on trying to get it to work properly on previous versions of PHP).  Microsoft now has it&#8217;s <a href="http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx" target="_blank">own version</a> of MS SQL Server driver (2005 and above) for PHP.  I have yet to install it, but it would have to be done on a development environment to redo any code using PHP&#8217;s old connection library.  I&#8217;ve also yet to find any documentation on it so I&#8217;m not sure of the details of the driver.</p>
<p><span style="text-decoration: underline;">Update: September 24, 2009</span><br />
Maybeme compiled a php_mssql.dll that works in the VC9 version of PHP 5.3. Note that the ntwdblib.dll files is still necessary. I haven&#8217;t gotten it to work personally, but it seems others have, so I&#8217;m sharing it for others who wants to try.</p>
<p>Download here: <a href="http://jimmyli.net/wp/wp-content/uploads/2009/09/php_mssql.dll">php_mssql.dll</a> (right-click &gt; Save Link As&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>
