<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>All About Interop : PHP</title><link>http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx</link><description>Tags: PHP</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>It just got easier to build REST apps in .NET</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/10/29/it-just-got-easier-to-build-rest-apps-in-net.aspx</link><pubDate>Thu, 30 Oct 2008 00:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9023083</guid><dc:creator>DotNetInterop</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/dotnetinterop/comments/9023083.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dotnetinterop/commentrss.aspx?PostID=9023083</wfw:commentRss><description>&lt;P&gt;The REST starter kit that we launched at PDC is now live! ::&amp;nbsp;&lt;A href="http://www.msdn.com/wcf/rest" mce_href="http://www.msdn.com/wcf/rest"&gt;http://www.msdn.com/wcf/rest&lt;/A&gt; . &lt;/P&gt;
&lt;P&gt;The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that help people build REST apps using WCF.&amp;nbsp; WCF, part of the .NET Framework, got some enhancements for REST support in the .NET&amp;nbsp;3.5 release.&amp;nbsp; This starter kit is a bunch of blueprints and supporting material to make it easier to use what is in the Framework for REST. &lt;/P&gt;
&lt;P&gt;Like, blueprints and guidelines for how to do caching, security, error handling, help page support, conditional PUT, push style streaming, type based dispatch and semi-structured XML support.&amp;nbsp; Whoa! &lt;/P&gt;
&lt;P&gt;The WCF REST Starter Kit also provides Visual Studio templates for creating REST style services such as an Atom feed service, a REST-RPC hybrid service, Resource singleton and collection services and an Atom Publishing Protocol service. In addition, there are samples, documentation and other guidance that help to use these new capabilities. &lt;/P&gt;
&lt;P&gt;The goal is to provide a toolset that simplifies building RESTful services today, and to take feedback from the developer community on the features provided in the WCF REST Starter Kit that will shape future REST capabilities in WCF 4.0. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9023083" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Interop/default.aspx">Interop</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/WCF/default.aspx">WCF</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Java/default.aspx">Java</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/REST/default.aspx">REST</category></item><item><title>SQL Server driver for PHP</title><link>http://blogs.msdn.com/dotnetinterop/archive/2007/10/22/sql-server-driver-for-php.aspx</link><pubDate>Mon, 22 Oct 2007 19:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5552380</guid><dc:creator>DotNetInterop</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/dotnetinterop/comments/5552380.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dotnetinterop/commentrss.aspx?PostID=5552380</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;In case you missed it&lt;/EM&gt;: The first CTP (Community Technology Preview) of the SQL Server 2005 Driver for PHP, is now &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=85F99A70-5DF5-4558-991F-8AEE8506833C&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=85F99A70-5DF5-4558-991F-8AEE8506833C&amp;amp;displaylang=en"&gt;available for download&lt;/A&gt; from Microsoft.&lt;/P&gt;
&lt;P&gt;Microsoft&amp;nbsp;announced the imminent release of this thing during the Zend/PHP Conference 10 days ago [&lt;A class="" href="http://www.news.com/underexposed/8300-13580_3-39-0.html" mce_href="http://www.news.com/underexposed/8300-13580_3-39-0.html"&gt;news&lt;/A&gt;]. The CTP release of the&amp;nbsp;driver is not suitable for production use, but is usable for testing and experimentation.&amp;nbsp; It's intended to provide PHP developers an early look, and to solicit feedback from the community to help refine the design of the API, the feature set, and the target scenarios.&amp;nbsp; The official release of the driver is expected in the first half of 2008.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Nice!&amp;nbsp; Combine this with the &lt;A class="" href="http://www.iis.net/php/" mce_href="http://www.iis.net/php/"&gt;IIS+PHP&lt;/A&gt; integration, and&amp;nbsp;soon you will have a solid, high-performance PHP platform on Windows and SQL.&amp;nbsp; If you do PHP, download the software, explore the sample applications and provide feedback to&amp;nbsp;Microsoft via the &lt;A class="" href="http://blogs.msdn.com/sqlphp/" mce_href="http://blogs.msdn.com/sqlphp/"&gt;SQL+PHP team blog&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5552380" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Interop/default.aspx">Interop</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx">PHP</category></item><item><title>PHP on Vista with IIS7</title><link>http://blogs.msdn.com/dotnetinterop/archive/2007/02/06/php-on-vista-with-iis7.aspx</link><pubDate>Wed, 07 Feb 2007 03:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1615286</guid><dc:creator>DotNetInterop</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/dotnetinterop/comments/1615286.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dotnetinterop/commentrss.aspx?PostID=1615286</wfw:commentRss><description>&lt;P&gt;I upgraded my work machine, back in October.&amp;nbsp; My old standby IBM Thinkpad T30, after years of loyal service, was starting to fall apart.&amp;nbsp; Random pieces were coming loose from the case and the keyboard was no longer delivering "Five 9's reliability".&amp;nbsp; Sometimes the keys worked, sometimes not.&amp;nbsp; Also the disk drive was giving me block errors, and the fan was generating some new sounds.&amp;nbsp; It was time to move on... (snif)&amp;nbsp; The Thinkpad was really a nice machine for me.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I got a new HP (Compaq) nc8430 - this is a sweet, svelte new wide-screen design.&amp;nbsp; Much faster than the thinkpad, and with a huge screen, huge hard drive.&amp;nbsp; It came with Windows XP pre-installed, but before I ever logged in, I installed a clean build of Windows Vista on it.&amp;nbsp; Nice graphics!&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I have been using the nc8430 as my main machine for some time now, it's working out nicely for me.&amp;nbsp; I turned off the disk indexing, it was slowing everything down.&amp;nbsp; Also I got some updated drivers from HP and all the various built-in devices (bluetooth, wireless nic, etc) now are working well.&amp;nbsp; I hadn't migrated everything over to this new machine, I'm sort of doing it in phases.&amp;nbsp; Previously, I installed Visual Studio and SQL&amp;nbsp;Express on it.&amp;nbsp; &amp;nbsp;This week I moved PHP onto it.&amp;nbsp; PHP works very nicely with the new IIS7 that is part of Vista.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Why would I install PHP?&amp;nbsp; you ask...&amp;nbsp; For interop testing and demonstrations, of course! &amp;nbsp; I like to demonstrate practical interop between Microsoft technologies, particularly .NET, and other technologies, as much as I can.&amp;nbsp; So PHP + .NET is a key interop combination.&amp;nbsp; But also PHP + IIS7, and PHP + SQL2005, and so on.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The Thinkpad had PHP 4.3.1 on it, but for the new machine I am getting current - so I put on PHP 5.2.0 instead.&amp;nbsp; I have &lt;A class="" href="http://www.microsoft.com/sql/editions/express/default.mspx" mce_href="http://www.microsoft.com/sql/editions/express/default.mspx"&gt;SQL Server 2005 Express Edition&lt;/A&gt; (&lt;A class="" href="http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx" mce_href="http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx"&gt;free download&lt;/A&gt;!)&amp;nbsp; On the thinkpad, I had no trouble connecting PHP to SQL Server 2000 - this new combination was not much different. Simpler, I'd say, due to the better design of IIS7. &lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;download and install PHP, as per &lt;A class="" href="http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx" mce_href="http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx"&gt;BillS' instructions&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;copy the php.ini file to c:\windows&lt;/LI&gt;
&lt;LI&gt;Edit the php.ini file to enable php_mssql.dll&amp;nbsp; (uncomment the line)&lt;/LI&gt;
&lt;LI&gt;install php_mssql.dll into c:\windows\system32&lt;/LI&gt;
&lt;LI&gt;get the new &lt;A class="" href="http://search.msn.com/results.aspx?q=ntwdblib.dll&amp;amp;FORM=QBHP" mce_href="http://search.msn.com/results.aspx?q=ntwdblib.dll&amp;amp;FORM=QBHP"&gt;ntwdblib.dll&lt;/A&gt; (version 2000.80.194) from your SQL Server and install it in c:\windows\system32. (&lt;EM&gt;don't use the ntwdblib.dll from the php 5.2.0 zip&lt;/EM&gt;)&lt;/LI&gt;
&lt;LI&gt;Use the SQL Configuration Manager to enable remote connections to SQL Server Express. Enable named pipes, TCP/IP, and VIA&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Ba-da-boom, you're done.&amp;nbsp; Go to town. &lt;/P&gt;
&lt;H3&gt;What about the Interop?&lt;/H3&gt;
&lt;P&gt;For now, PHP apps can connect to SQL and perform any queries at all, including &lt;A class="" href="http://www.developer.com/db/article.php/3531196" mce_href="http://www.developer.com/db/article.php/3531196"&gt;taking advantage of the new XML stuff&lt;/A&gt; in SQL 2005. And PHP can generate XML as output, which can then be consumed by any .NET app, including, for example, a WCF app that consumes RSS or POX.&amp;nbsp;&amp;nbsp; I'll be looking into examples of all of these in the near future. &lt;/P&gt;
&lt;P&gt;cheers!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1615286" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Interop/default.aspx">Interop</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/IIS/default.aspx">IIS</category></item><item><title>FastCGI on IIS</title><link>http://blogs.msdn.com/dotnetinterop/archive/2006/10/31/fastcgi-on-iis.aspx</link><pubDate>Tue, 31 Oct 2006 20:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:913411</guid><dc:creator>DotNetInterop</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/dotnetinterop/comments/913411.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dotnetinterop/commentrss.aspx?PostID=913411</wfw:commentRss><description>&lt;P&gt;Bill Staples of Microsoft blogged on the newly announced&amp;nbsp;partnership between Zend and Microsoft, one of the &lt;A class="" href="http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx" mce_href="http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx"&gt;first deliverables is a FastCGI implementation&lt;/A&gt; on Windows and IIS, which allows PHP to run faster and more reliably on Windows.&amp;nbsp; Nice!&lt;/P&gt;
&lt;P&gt;-Dino&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=913411" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Interop/default.aspx">Interop</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx">PHP</category></item><item><title>.NET and PHP on CodePlex</title><link>http://blogs.msdn.com/dotnetinterop/archive/2006/08/13/net-and-php-on-codeplex.aspx</link><pubDate>Sun, 13 Aug 2006 19:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:697338</guid><dc:creator>DotNetInterop</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/dotnetinterop/comments/697338.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dotnetinterop/commentrss.aspx?PostID=697338</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;CodePlex is Microsoft's new community development site.&amp;nbsp; One of the interesting projects there is focused on interop - between PHP and .NET.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=Phalanger" mce_href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=Phalanger"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.codeplex.com/Wiki/View.aspx?ProjectName=Phalanger&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=697338" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/Interop/default.aspx">Interop</category><category domain="http://blogs.msdn.com/dotnetinterop/archive/tags/PHP/default.aspx">PHP</category></item></channel></rss>