Post on 02-Jan-2016
PHP on WindowsImprovements in PHP-Microsoft Interoperability
Brian SwanPHP Developer Outreach, Microsoft
@brian_swanbrian.swan@microsoft.com
http://blogs.msdn.com/brian_swanhttp://www.linkedin.com/in/brianeswan
- Demo 1 -
WinCache
- Demo 1 (A bit more detail) -
WinCachev1.0: Opcode, File, and Resolve path cachev1.1 (beta): Stores app data in shared memory
(function-by-function compatible with APC) Available at http://pecl.php.net/package/WinCache
IIS features available across all versionsFull feature set available in IIS 7.5, updates
available for other versions: http://www.iis.net/expand/FastCGI
- Demo 1 Recap-
FastCGI is the recommended way to run PHP with IIS
IIS supports side-by-side versions of PHPUse Monitor Changes To File setting to update
PHP configuration without server restartSet MaxInstances=0 to auto-tune PHP instancesUse WinCache extension to boost performance
with out changing PHP code
- Demo 2 -
But first, some context…
SQL Server Reporting Services SDK for PHPHow it Works
- Demo 2 Recap-
SQL Server Reporting Services (SSRS)Build/deploy customized reports in multiple
formats (HTML, PDF, Excel, Word, CSV, …)Access report server via web service interfaceFree with SQL Server Express 2008 R2 with
Advanced ServicesSSRS SDK for PHP
PHP library for consuming SSRSAvailable at http://ssrsphp.codeplex.com
- Demo 3 -
Again, some context first…
ClientWeb Browser
Web ServerWindows/IIS/PHP SQL Server
- Demo 3 Recap -
SQL Server Driver for PHP - Architecture
Windows AuthenticationConnection poolingStreamingServer-side “scrollable” cursorsUTF-8 supportSQL Azure supportPDO support (Beta)
SQL Server Driver for PHP - Features
- Downloads - Web Platform Installer
http://www.microsoft.com/web/ IIS/FastCGI Updates
http://www.iis.net/expand/FastCGI SSRS SDK for PHP
http://ssrsphp.codeplex.com/ SQL Azure Migration Wizard
http://sqlazuremw.codeplex.com/ Windows Azure Cmd Line Tools for PHP Developers
http://azurephptools.codeplex.com/
These links and more are posted on my blog: http://blogs.msdn.com/brian_swan
- Resources - Blogs
http://blogs.msdn.com/b/brian_swan/ http://blogs.msdn.com/b/sqlphp/ http://blogs.msdn.com/b/interoperability/ http://www.joshholmes.com/blog/ http://zachskylesowens.net/
Learn more… http://www.microsoft.com/windowsazure http://www.codeplex.com http://www.microsoft.com/web/
Again, these and more are posted on my blog: http://blogs.msdn.com/brian_swan
Q & AFurther questions/follow-up/feedback:joind.in: http://joind.in/1650 Twitter: @brian_swan E-mail: brian.swan@microsoft.comMy blog: http://blogs.msdn.com/b/brian_swan