partying with php on microsoft internet information services 7
DESCRIPTION
Discover the advantages of running PHP applications on Microsoft Internet Information Services. Learn how to take advantage of the integrated pipeline and .NET functionality, and use the new remote management tools.TRANSCRIPT
![Page 1: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/1.jpg)
Partying with PHP on Microsoft Internet Information Services 7Drew RobbinsTechnical EvangelistMicrosoft Corporation
![Page 2: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/2.jpg)
Agenda
Configuring PHP on IIS7Making your application rock on IIS7Taking advantage of the Windows platform
Q&A at Open Space
![Page 3: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/3.jpg)
FastCGIExtension 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
A History of PHP on IIS
CGIInvokes a process for each request.
Advantages Easy to Configure Stable Execution
Disadvantages Slow due to I/O Overhead of Process Creation
ISAPILoaded as extension in process.
Advantages Better Performance
Disadvantages Many PHP Applications are not Thread-Safe
![Page 4: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/4.jpg)
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=1521Fully 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 TechnologiesImprovements in PHP engine for IIS with contributions and collaboration back to PHP CommunityZend Core Available for Commercially Supported PHP
![Page 5: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/5.jpg)
FastCGI in IIS6 and IIS7
FastCGI in IIS6 FastCGI in IIS7
Available today on Download Center
Available with Windows Server 2008 and Vista SP1
Delivered as a separate download for Windows Server 2003.
Delivered as part of IIS7. Users must install the CGI feature in IIS to enable FastCGI.
FastCGI ISAPI extension Native IIS7 module
Resources, forums, and reference material available on IIS.NET
Product help documentation, as well as resources on IIS.NET.
Configured via fcgiext.ini Configured via the new XML-based configuration system in IIS7.
Fully supported by Microsoft
Supports PHP and other FastCGI frameworks
![Page 6: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/6.jpg)
Configuring PHP on WindowsDrew RobbinsTechnical EvangelistMicrosoft
demo
![Page 7: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/7.jpg)
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
![Page 8: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/8.jpg)
New Modular Architecture The integrated pipeline
ManagedNative
Forms
Anon Basic
UrlAuth
Cache
ISAPI
Logging
Tracing
Static
ASP
ASP.NET
FastCGI
Compress
Errors
- or -
Managed
Custom
![Page 9: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/9.jpg)
web.config
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.
Central configuration file for the server contains system wide configuration settings.
Distributed configuration files contain overrides and local site and application settings.
Schema
applicationHost.config
web.config
![Page 10: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/10.jpg)
New IIS Manager
Easy navigation to server, sites
and applications
Tasks organized by areas and
features
Common actions related to
navigation context
![Page 11: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/11.jpg)
Making Your Application Rock on IIS7Drew RobbinsTechnical EvangelistMicrosoft
demo
![Page 12: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/12.jpg)
Leveraging the Platform
Rich functionality in IIS7Included modules such as MembershipAdd-on modules from http://IIS.net
SQL Server 2005 Driver for PHPOther Windows Applications
Active DirectoryExchangeSharePointOffice
![Page 13: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/13.jpg)
Add-On Modules
PublishingWebDAV - ReleasedFTP7 - ReleasedFrontpage Server Extensions - Released
Media PackBitRate Throttling – Go LivePlaylists - CTP
Other modules to come…
![Page 14: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/14.jpg)
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.
ReliabilityScalabilityMaintainability
Base the PHP driver's API on existing data patterns
Feb '08 CTP contains API changes based on community feedbackFor more info, see the team blog http://blogs.msdn.com/sqlphp
![Page 15: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/15.jpg)
Leveraging the Windows platformDrew RobbinsTechnical EvangelistMicrosoft
demo
![Page 16: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/16.jpg)
The IIS 7.0 Pillars What’s cool about IIS
Security
Extensibility
Config
System Manageme
nt
Diagnostics
• Customized, Componentized Web Server• Reduced management of patches• URLScan built-in functionality
• Brand new Win32 API• Integrated support for iHttpModules (ASP.NET)
• Distributed, delegatable configuration• Rich extensibility• Integrated configuration for Web Platform
• Innovative, Brand-new IIS Manager• AppCmd.exe: Command line administration• Http & Https remote administration
• Brand-new state API• Easy-to-setup & use failed request tracing• IIS & ASP.NET integrated diagnostics
![Page 17: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/17.jpg)
© 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.
![Page 18: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/18.jpg)
Slide for Showing Developer’s Software CodeUse this layout to show software codeThe font is Courier, a monospace fontThe slide doesn’t use bullets but levels can be indented using the “Increase List Level” icon on the Home menu
![Page 19: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/19.jpg)
Demo Title
NameTitleCompany
demo
![Page 20: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/20.jpg)
Video Title
video
![Page 21: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/21.jpg)
Partner Title
NameTitleCompany
partner
![Page 22: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/22.jpg)
Customer Title
NameTitleCompany
customer
![Page 23: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/23.jpg)
Announcement Title
announcing
![Page 24: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/24.jpg)
© 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.
![Page 25: Partying with PHP on Microsoft Internet Information Services 7](https://reader035.vdocuments.us/reader035/viewer/2022062319/55529b4cb4c905e8128b4f0d/html5/thumbnails/25.jpg)