<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing PHP 5.3 on Microsoft IIS</title>
	<atom:link href="http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 02:15:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jimmy</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-446</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Wed, 21 Mar 2012 02:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-446</guid>
		<description>Sam,

WordPress uses a MySQL database. This article is about Microsoft SQL Server database. So that&#039;s not the cause. You&#039;ll need a MySQL database server to run WordPress.</description>
		<content:encoded><![CDATA[<p>Sam,</p>
<p>WordPress uses a MySQL database. This article is about Microsoft SQL Server database. So that&#8217;s not the cause. You&#8217;ll need a MySQL database server to run WordPress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-445</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 20 Mar 2012 13:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-445</guid>
		<description>Hello,

You wrote that (I quote): &quot;PHP decided to remove the MS SQL Server connection driver in the PHP 5.3 package&quot;. I am using IIS6, PHP 5.3 and Microsoft server 2003 along with MSSQL 2000. It doesn&#039;t work for me. When installing wordpress, I always get the same error that no connection to database. Database name, user name or password can be wrong. I checked that more than once, everything is OK. Should I just change the PHP to 5.2? Is this the reason I can&#039;t run Wordpress? Would appreciate if someone helped me...</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>You wrote that (I quote): &#8220;PHP decided to remove the MS SQL Server connection driver in the PHP 5.3 package&#8221;. I am using IIS6, PHP 5.3 and Microsoft server 2003 along with MSSQL 2000. It doesn&#8217;t work for me. When installing wordpress, I always get the same error that no connection to database. Database name, user name or password can be wrong. I checked that more than once, everything is OK. Should I just change the PHP to 5.2? Is this the reason I can&#8217;t run WordPress? Would appreciate if someone helped me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 潘晓亮的个人网站 &#187; PHP 5.3.X连接SQL Server 2005</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-434</link>
		<dc:creator>潘晓亮的个人网站 &#187; PHP 5.3.X连接SQL Server 2005</dc:creator>
		<pubDate>Thu, 15 Sep 2011 14:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-434</guid>
		<description>[...] SQL Server Library for PHP 5.3 Just Yet，Installing PHP 5.3 on Microsoft IIS，Finally a working SQL Server Driver for PHP 5.3，Installing FastCGI and PHP for IIS 6.0）。 [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL Server Library for PHP 5.3 Just Yet，Installing PHP 5.3 on Microsoft IIS，Finally a working SQL Server Driver for PHP 5.3，Installing FastCGI and PHP for IIS 6.0）。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Kriner</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-318</link>
		<dc:creator>Andrew Kriner</dc:creator>
		<pubDate>Sat, 14 Aug 2010 06:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-318</guid>
		<description>Good post, will frequent your site.</description>
		<content:encoded><![CDATA[<p>Good post, will frequent your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-305</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Wed, 11 Aug 2010 00:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-305</guid>
		<description>Just want to mention that there is a newer version of the SQL Server Driver for PHP out (v2.0):
http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=80e44913-24b4-4113-8807-caae6cf2ca05

Just swapping out the DLL for the new one and restarting the web server should be enough, or if you want to rewrite it using the PDO option, that&#039;s available too. (I have not tried out PDO.)</description>
		<content:encoded><![CDATA[<p>Just want to mention that there is a newer version of the SQL Server Driver for PHP out (v2.0):<br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#038;FamilyID=80e44913-24b4-4113-8807-caae6cf2ca05" rel="nofollow">http://www.microsoft.com/downloads/details.aspx?displaylang=en&#038;FamilyID=80e44913-24b4-4113-8807-caae6cf2ca05</a></p>
<p>Just swapping out the DLL for the new one and restarting the web server should be enough, or if you want to rewrite it using the PDO option, that&#8217;s available too. (I have not tried out PDO.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-304</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Tue, 10 Aug 2010 07:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-304</guid>
		<description>I guess the route you choose depends on what you&#039;re doing. I chose to separate the loop and save the results temporarily. Somehow I feel that opening up another connection just uses up more resource and memory. (I have no tests to back that case up.) If your application is public and will have many users, it might even hit that database connection limit quicker (whatever that limit may be). Mine&#039;s an internal app, so I&#039;m not really worried about it.

Yep, my IIS and SQL Server are two different servers. I&#039;m sure that&#039;s why it thinks I&#039;m trying to log in as a null user.</description>
		<content:encoded><![CDATA[<p>I guess the route you choose depends on what you&#8217;re doing. I chose to separate the loop and save the results temporarily. Somehow I feel that opening up another connection just uses up more resource and memory. (I have no tests to back that case up.) If your application is public and will have many users, it might even hit that database connection limit quicker (whatever that limit may be). Mine&#8217;s an internal app, so I&#8217;m not really worried about it.</p>
<p>Yep, my IIS and SQL Server are two different servers. I&#8217;m sure that&#8217;s why it thinks I&#8217;m trying to log in as a null user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-303</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Tue, 10 Aug 2010 04:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-303</guid>
		<description>That is funny.  I was just about to sit down to do exactly what you have described above.  I want to add records to a table, but first I want to check if a duplicate exists.  I believe that above is the way I would do that.  Anyway, opening up two DB connections seems like a good enough way to go.

Are your IIS and SQL servers on different servers?  That is the only scenario I can see that you would get a null user.</description>
		<content:encoded><![CDATA[<p>That is funny.  I was just about to sit down to do exactly what you have described above.  I want to add records to a table, but first I want to check if a duplicate exists.  I believe that above is the way I would do that.  Anyway, opening up two DB connections seems like a good enough way to go.</p>
<p>Are your IIS and SQL servers on different servers?  That is the only scenario I can see that you would get a null user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-301</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Mon, 09 Aug 2010 08:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-301</guid>
		<description>I&#039;m glad that everything is working out. Just to give you a heads up on something I came upon which gave me a huge headache and took a while to figure out. Using SQL Server 2000 and this SQL Server Driver, you cannot call another statement while actively in a statement. Here&#039;s a quick example of what I&#039;m talking about:

[code]
$result = query(&#039;...&#039;);
while ($row = fetch_array($result)) {
  $result2 = query(&#039;...&#039;);  // this will fail
  while ($line = fetch_array($result)) {
    // more code
  }
}
[/code]

This is because SQL Server 2000 does not support Multiple Active Result Set (MARS), which is only available from 2005+. Do a search for more info. But if you come upon such a scenario, you&#039;ll have to either open up another SQL connection, or save the results from the first statement, then run the second statement separately. I will write an article about it with more details, but I just want to give you a heads up since you have this combo. The old PHP 5.2 MSSQL extension apparently allowed us to do this nested statement without complaining. I&#039;m not sure how, but I imagined it must have opened up an extra connection transparently.

As for the null user, I just left out the username/password part of the connection array (as mentioned on the docs with using Windows Auth), and it said (null) was not a valid user. (And I&#039;m sure there is no such user.) I use IIS6.0 and SQL Server 2000, like yours.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad that everything is working out. Just to give you a heads up on something I came upon which gave me a huge headache and took a while to figure out. Using SQL Server 2000 and this SQL Server Driver, you cannot call another statement while actively in a statement. Here&#8217;s a quick example of what I&#8217;m talking about:</p>
<pre class="brush: plain; title: ; notranslate">
$result = query('...');
while ($row = fetch_array($result)) {
  $result2 = query('...');  // this will fail
  while ($line = fetch_array($result)) {
    // more code
  }
}
</pre>
<p>This is because SQL Server 2000 does not support Multiple Active Result Set (MARS), which is only available from 2005+. Do a search for more info. But if you come upon such a scenario, you&#8217;ll have to either open up another SQL connection, or save the results from the first statement, then run the second statement separately. I will write an article about it with more details, but I just want to give you a heads up since you have this combo. The old PHP 5.2 MSSQL extension apparently allowed us to do this nested statement without complaining. I&#8217;m not sure how, but I imagined it must have opened up an extra connection transparently.</p>
<p>As for the null user, I just left out the username/password part of the connection array (as mentioned on the docs with using Windows Auth), and it said (null) was not a valid user. (And I&#8217;m sure there is no such user.) I use IIS6.0 and SQL Server 2000, like yours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-300</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Mon, 09 Aug 2010 05:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-300</guid>
		<description>I am happy to report that the SQL queries are working.  However, I did have to change a bunch of function names from using the mssql_ prefix to the using the sqlsrv_prefix. e.g.
mssql_fetch_array to sqlsrv_fetch_array.

Never heard of a (null) user.  Are you sure you were using Windows Authentication?  Which Web Server.  I am only familiar with IIS.

Anyway thanx much for your help.</description>
		<content:encoded><![CDATA[<p>I am happy to report that the SQL queries are working.  However, I did have to change a bunch of function names from using the mssql_ prefix to the using the sqlsrv_prefix. e.g.<br />
mssql_fetch_array to sqlsrv_fetch_array.</p>
<p>Never heard of a (null) user.  Are you sure you were using Windows Authentication?  Which Web Server.  I am only familiar with IIS.</p>
<p>Anyway thanx much for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/comment-page-1/#comment-298</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Sun, 08 Aug 2010 09:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://jimmyli.net/?p=43#comment-298</guid>
		<description>Great! Let me know how it goes, and if you get any further on Windows Auth.
I took a shot yesterday at just leaving the user/pass out of the connection, and I got a similar error you got for login failed, except mine said that &#039;(null)&#039; was not a valid user...</description>
		<content:encoded><![CDATA[<p>Great! Let me know how it goes, and if you get any further on Windows Auth.<br />
I took a shot yesterday at just leaving the user/pass out of the connection, and I got a similar error you got for login failed, except mine said that &#8216;(null)&#8217; was not a valid user&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

