Partying with PHP on Microsoft Internet Information Services 7 - Presentation Transcript
Configuring PHP on IIS7
Making your application rock on IIS7
Taking advantage of the Windows platform
Q&A at Open Space
Invokes a process for Loaded as extension Extension to CGI
each request. in process. allowing reuse of a
process.
Advantages Advantages Advantages
Easy to Configure Better Performance Easy to Configure
Stable Execution Faster than CGI
More stable than
Disadvantages Disadvantages PHP on ISAPI
Slow due to I/O Many PHP Can run non-
Overhead of Applications are thread-safe
Process Creation not Thread-Safe versions of PHP
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
FastCGI in IIS6 FastCGI in IIS7
Available today on Download Available with Windows Server
Center 2008 and Vista SP1
Delivered as a separate download Delivered as part of IIS7. Users
for Windows Server 2003. must install the CGI feature in IIS
to enable FastCGI.
FastCGI ISAPI extension Native IIS7 module
Resources, forums, and reference Product help documentation, as
material available on IIS.NET 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
Modular architecture for XML-based Remote management
reduced attack surface configuration system capability
Integration with WMS Ability to extend IIS7
Advanced diagnostics
and Media Pack using managed code
The integrated pipeline
Managed Managed
Native
Custom
- or -
ASP.NET Static Cache Logging Anon Basic
Compress
FastCGI ASP Errors ISAPI Tracing Forms UrlAuth
Say goodbye to the metabase!
Configuration stored in XML files validated
by a schema.
Schema describes configuration
Schema settings for IIS, ASP.NET and 3rd party
applications.
Central configuration file for the server
applicationHost.config contains system wide configuration
settings.
Distributed configuration files contain
web.config web.config overrides and local site and application
settings.
Easy navigation to Tasks organized Common actions
server, sites and by areas and related to navigation
applications features context
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
Publishing
WebDAV - Released
FTP7 - Released
Frontpage Server Extensions - Released
Media Pack
BitRate Throttling – Go Live
Playlists - CTP
Other modules to come…
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
What’s cool about IIS
• Customized, Componentized Web Server
• Reduced management of patches
Security
• URLScan built-in functionality
• Brand new Win32 API
Extensibility • Integrated support for iHttpModules (ASP.NET)
• Distributed, delegatable configuration
• Rich extensibility
Config
• Integrated configuration for Web Platform
• Innovative, Brand-new IIS Manager
System • AppCmd.exe: Command line administration
Management • Http & Https remote administration
• Brand-new state API
• Easy-to-setup & use failed request tracing
Diagnostics
• IIS & ASP.NET integrated diagnostics
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
Discover the advantages of running PHP applications more
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. less
0 comments
Post a comment