1 / 25

Partying with PHP on Microsoft Internet Information Services 7

Partying with PHP on Microsoft Internet Information Services 7. Drew Robbins Technical Evangelist Microsoft Corporation. Agenda. Configuring PHP on IIS7 Making your application rock on IIS7 Taking advantage of the Windows platform Q&A at Open Space. A History of PHP on IIS. CGI. FastCGI.

muhammad
Download Presentation

Partying with PHP on Microsoft Internet Information Services 7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Partying with PHP on Microsoft Internet Information Services 7 Drew Robbins Technical Evangelist Microsoft Corporation

  2. Agenda • Configuring PHP on IIS7 • Making your application rock on IIS7 • Taking advantage of the Windows platform • Q&A at Open Space

  3. A History of PHP on IIS CGI FastCGI ISAPI Invokes a process for each request. Advantages Easy to Configure Stable Execution Disadvantages Slow due to I/O Overhead of Process Creation Extension to CGI allowing reuse of a process. Advantages Easy to Configure Faster than CGI More stable than PHP on ISAPI Can run non- thread-safe versions of PHP Loaded as extension in process. Advantages Better Performance Disadvantages Many PHP Applications are not Thread-Safe

  4. FastCGI for IIS6 • Same FastCGI functionality as in IIS7, available as a separate download for IIS6 from the Microsoft download center • http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1521 • Fully supported by Microsoft • Walk-throughs demonstrating how to run popular PHP applications on Windows Server • See http://www.iis.net/php • Close collaboration with Zend Technologies • Improvements in PHP engine for IIS with contributions and collaboration back to PHP Community • Zend Core Available for Commercially Supported PHP

  5. FastCGI in IIS6 and IIS7

  6. Configuring PHP on Windows Drew Robbins Technical Evangelist Microsoft demo

  7. Advantages of PHP on IIS7 Modular architecture for reduced attack surface XML-based configuration system Remote management capability Advanced diagnostics Integration with WMS and Media Pack Ability to extend IIS7 using managed code

  8. New Modular Architecture The integrated pipeline Native Managed Managed - or - Custom ISAPI Logging Cache Compress Errors Tracing Static ASP ASP.NET FastCGI Anon UrlAuth Basic Forms

  9. New Configuration System Say goodbye to the metabase! • Configuration stored in XML files validated by a schema. Schema describes configuration settings for IIS, ASP.NET and 3rd party applications. Schema Central configuration file for the server contains system wide configuration settings. applicationHost.config Distributed configuration files contain overrides and local site and application settings. web.config web.config

  10. New IIS Manager Easy navigation to server, sites and applications Tasks organized by areas and features Common actions related to navigation context

  11. Making Your Application Rock on IIS7 Drew Robbins Technical Evangelist Microsoft demo

  12. Leveraging the Platform • Rich functionality in IIS7 • Included modules such as Membership • Add-on modules from http://IIS.net • SQL Server 2005 Driver for PHP • Other Windows Applications • Active Directory • Exchange • SharePoint • Office

  13. Add-On Modules • Publishing • WebDAV - Released • FTP7 - Released • Frontpage Server Extensions - Released • Media Pack • BitRate Throttling – Go Live • Playlists - CTP • Other modules to come…

  14. SQL Server 2005 Driver for PHP • Goal: Provide robust, scalable, and reliable SQL Server connectivity for PHP developers targeting the Windows platform • Enterprise “abilities” to PHP/SQL Server Devs. • Reliability • Scalability • Maintainability • Base the PHP driver's API on existing data patterns • Feb '08 CTP contains API changes based on community feedback • For more info, see the team blog http://blogs.msdn.com/sqlphp

  15. Leveraging the Windows platform Drew Robbins Technical Evangelist Microsoft demo

  16. The IIS 7.0 Pillars What’s cool about IIS • Customized, Componentized Web Server • Reduced management of patches • URLScan built-in functionality Security • Brand new Win32 API • Integrated support for iHttpModules (ASP.NET) Extensibility • Distributed, delegatable configuration • Rich extensibility • Integrated configuration for Web Platform Config • Innovative, Brand-new IIS Manager • AppCmd.exe: Command line administration • Http & Https remote administration System Management • Brand-new state API • Easy-to-setup & use failed request tracing • IIS & ASP.NET integrated diagnostics Diagnostics

  17. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

  18. Slide for Showing Developer’s Software Code • Use this layout to show software code • The font is Courier, a monospace font • The slide doesn’t use bullets but levels can be indented using the “Increase List Level” icon on the Home menu

  19. Demo Title Name Title Company demo

  20. Video Title video

  21. Partner Title Name Title Company partner

  22. Customer Title Name Title Company customer

  23. Announcement Title announcing

  24. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related