<?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: Adding support for MS SQL Server to PHP in Linux</title>
	<atom:link href="http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/</link>
	<description>Experiments and thoughts in PHP and javascript</description>
	<lastBuildDate>Mon, 30 Jan 2012 20:33:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Connect to MS-SQL server from PHP-Linux &#124; Reza Samimi&#39;s Web Page</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2912</link>
		<dc:creator>Connect to MS-SQL server from PHP-Linux &#124; Reza Samimi&#39;s Web Page</dc:creator>
		<pubDate>Sun, 01 Jan 2012 18:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2912</guid>
		<description>[...]  Adding support for MS SQL Server to PHP in Linux    This entry was posted in Linux, Programming, Uncategorized, Web Designing by mehrdust. Bookmark the permalink. [...]</description>
		<content:encoded><![CDATA[<p>[...]  Adding support for MS SQL Server to PHP in Linux    This entry was posted in Linux, Programming, Uncategorized, Web Designing by mehrdust. Bookmark the permalink. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2855</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 29 Sep 2011 15:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2855</guid>
		<description>I was able to compile the mssql module with freetds 0.91 by doing the following:
Open php_mssql.h:
Comment out the line that says &quot;typedef unsigned char *LPBYTE;&quot;
Then try running &quot;make&quot; and see how it works!</description>
		<content:encoded><![CDATA[<p>I was able to compile the mssql module with freetds 0.91 by doing the following:<br />
Open php_mssql.h:<br />
Comment out the line that says &#8220;typedef unsigned char *LPBYTE;&#8221;<br />
Then try running &#8220;make&#8221; and see how it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2427</link>
		<dc:creator>Kamran</dc:creator>
		<pubDate>Thu, 01 Sep 2011 18:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2427</guid>
		<description>I&#039;m trying to use this guide to install the mssql extension but I&#039;m stuck. I get the following errors when I run the &#039;make&#039; command in the mssql directory:

/root/php-5.3.8/ext/mssql/php_mssql.h:68: error: redefinition of typedef &#039;LPBYTE&#039;
/usr/local/freetds/include/sqlfront.h:35: error: previous declaration of &#039;LPBYTE&#039; was here
/root/php-5.3.8/ext/mssql/php_mssql.c: In function &#039;php_mssql_do_connect&#039;:
/root/php-5.3.8/ext/mssql/php_mssql.c:767: warning: cast from pointer to integer of different size
/root/php-5.3.8/ext/mssql/php_mssql.c: In function &#039;php_mssql_get_column_content_without_type&#039;:
/root/php-5.3.8/ext/mssql/php_mssql.c:1120: warning: passing argument 1 of &#039;spprintf&#039; from incompatible pointer type
make: *** [php_mssql.lo] Error 1</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use this guide to install the mssql extension but I&#8217;m stuck. I get the following errors when I run the &#8216;make&#8217; command in the mssql directory:</p>
<p>/root/php-5.3.8/ext/mssql/php_mssql.h:68: error: redefinition of typedef &#8216;LPBYTE&#8217;<br />
/usr/local/freetds/include/sqlfront.h:35: error: previous declaration of &#8216;LPBYTE&#8217; was here<br />
/root/php-5.3.8/ext/mssql/php_mssql.c: In function &#8216;php_mssql_do_connect&#8217;:<br />
/root/php-5.3.8/ext/mssql/php_mssql.c:767: warning: cast from pointer to integer of different size<br />
/root/php-5.3.8/ext/mssql/php_mssql.c: In function &#8216;php_mssql_get_column_content_without_type&#8217;:<br />
/root/php-5.3.8/ext/mssql/php_mssql.c:1120: warning: passing argument 1 of &#8217;spprintf&#8217; from incompatible pointer type<br />
make: *** [php_mssql.lo] Error 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Patterson</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2146</link>
		<dc:creator>Charles Patterson</dc:creator>
		<pubDate>Thu, 11 Aug 2011 19:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2146</guid>
		<description>I&#039;ve had nothing but problems using mssql, however using odbc setup Linux/PHP talks to MSSQL without issue. Here&#039;s how I set mine up: http://members.cox.net/midian/howto/phpMSSQL.htm</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had nothing but problems using mssql, however using odbc setup Linux/PHP talks to MSSQL without issue. Here&#8217;s how I set mine up: <a href="http://members.cox.net/midian/howto/phpMSSQL.htm" rel="nofollow">http://members.cox.net/midian/howto/phpMSSQL.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kitchen</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2098</link>
		<dc:creator>kitchen</dc:creator>
		<pubDate>Thu, 21 Jul 2011 16:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2098</guid>
		<description>great article. what versions of sql server have been successfully tested with freetds?</description>
		<content:encoded><![CDATA[<p>great article. what versions of sql server have been successfully tested with freetds?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing Zend Server CE on OS X: A Guide For the Terminal Timid &#124; Witheringtree</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2082</link>
		<dc:creator>Installing Zend Server CE on OS X: A Guide For the Terminal Timid &#124; Witheringtree</dc:creator>
		<pubDate>Sat, 16 Jul 2011 17:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2082</guid>
		<description>[...] are a lot of tutorials out there on how to build the extension yourself on Mac or Linux machine (this site for example), but none seemed to work for [...]</description>
		<content:encoded><![CDATA[<p>[...] are a lot of tutorials out there on how to build the extension yourself on Mac or Linux machine (this site for example), but none seemed to work for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: self hypnosis techniques</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-2016</link>
		<dc:creator>self hypnosis techniques</dc:creator>
		<pubDate>Thu, 14 Apr 2011 17:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-2016</guid>
		<description>[...] Adding support for MS SQL Server to PHP in Linux [...]</description>
		<content:encoded><![CDATA[<p>[...] Adding support for MS SQL Server to PHP in Linux [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Foster</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-1997</link>
		<dc:creator>Mark Foster</dc:creator>
		<pubDate>Tue, 28 Dec 2010 16:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-1997</guid>
		<description>This was very helpful.  Thanks.</description>
		<content:encoded><![CDATA[<p>This was very helpful.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KlaasV</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-1903</link>
		<dc:creator>KlaasV</dc:creator>
		<pubDate>Thu, 16 Sep 2010 06:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-1903</guid>
		<description>I&#039;ve been using this method for a while, but when I set up a new server, with more recent Debian, Apache and PHP 5.2.6 versions, I had problems with WHERE-clauses in mssql_query SELECT statements.
After three months searching the problem still isn&#039;t solved, but I read that in PHP 5.3 support for mssql extension is dropped completely.
Is there an alternative method?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using this method for a while, but when I set up a new server, with more recent Debian, Apache and PHP 5.2.6 versions, I had problems with WHERE-clauses in mssql_query SELECT statements.<br />
After three months searching the problem still isn&#8217;t solved, but I read that in PHP 5.3 support for mssql extension is dropped completely.<br />
Is there an alternative method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John from Buffalo</title>
		<link>http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/comment-page-1/#comment-1885</link>
		<dc:creator>John from Buffalo</dc:creator>
		<pubDate>Wed, 14 Jul 2010 15:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotvoid.com/?p=431#comment-1885</guid>
		<description>I am going down the path of MSSQL + PHP to avoid replication of data push through the MySQL 3.5.1 driver (which seems to be pretty badass under Windows 2003 server for us). This way I can pull directly from MSSQL vs. relying on my stored procedures that add a crazy level of complexity to the equation. 

Compiled my php configuration rather simply by adding the --with-mssql (which is a switch under the ./configure --help &#124; grep &quot;mssql&quot; lookup). So, rather happy with this. 

Stop the server, restarted and it seems to be at least loaded. Time to go back and see if it actually worked, but the exploration in your article seems to be lacking down some examples to those who compile from source. Maybe giving an example for those who compile that can add the switch on the config.nice options after you&#039;ve already done a compile once before .. might be nice.

Otherwise good article thus far.</description>
		<content:encoded><![CDATA[<p>I am going down the path of MSSQL + PHP to avoid replication of data push through the MySQL 3.5.1 driver (which seems to be pretty badass under Windows 2003 server for us). This way I can pull directly from MSSQL vs. relying on my stored procedures that add a crazy level of complexity to the equation. </p>
<p>Compiled my php configuration rather simply by adding the &#8211;with-mssql (which is a switch under the ./configure &#8211;help | grep &#8220;mssql&#8221; lookup). So, rather happy with this. </p>
<p>Stop the server, restarted and it seems to be at least loaded. Time to go back and see if it actually worked, but the exploration in your article seems to be lacking down some examples to those who compile from source. Maybe giving an example for those who compile that can add the switch on the config.nice options after you&#8217;ve already done a compile once before .. might be nice.</p>
<p>Otherwise good article thus far.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

