Peter J. Meister Group Product Manager Microsoft Corporation Session Code: WSV318.

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation WSV322.
Advertisements

SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Running PHP on Windows Server 2008 and IIS 7 Rob Cameron Developer Evangelist, Communications Sector Microsoft.
Agenda Customer pain points and how data classification can help Ecosystem Windows Server 2008 R2 for file Classification Infrastructure Demos Customer.
Faith Allington Program Manager Microsoft Corporation Session Code: WSV304.
IIS v7.0 Martin Parry Developer & Platform Group Microsoft Limited
Eben de Wit Developer Advisor Microsoft
Internet Information Server (IIS)
Tech·Ed North America /19/2017 7:21 AM
Executive Overview. PLEASE READ (hidden slide) To deliver this presentation effectively, you need to be familiar with Windows Server 2008 R2 management.
IIS 7: The Next Generation Web Application Server Platform Michael Volodarsky Program Manager Web Platform and Tools Team Microsoft Corporation.
02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.
Configuring PHP on IIS7 Making your application rock on IIS7 Taking advantage of the Windows platform Q&A at Open Space.
Johan Arwidmark Chief Technical Architect TrueSec WEM303.
Rob Hwacinski Sr. Program Manager Lead Microsoft Corporation WEM206 Ashwin Kulkarni Sr. Product Manager Microsoft Corporation.
April-June 2006 Windows Hosting Seminar Series Product Roadmap: IIS 7.0 Matthew Boettcher Web Platform Technical Evangelist (Hosting) Developer & Platform.
Johan Arwidmark Chief Technical Architect WCL315.
Using The WDK For Windows Logo And Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
 Vijay Sen Senior Program Manager Microsoft Corporation ES14.
Saad Ladki Program Manager Microsoft Corporation WUX403.
IIS, Tools And Extensibility Madhur Joshi Development Lead Phone:
Virtual techdays INDIA │ august 2010 IIS 7/7.5 Tips & Tricks Jaskirat Singh │ Technical Lead [IIS|Asp.Net team], Microsoft.
PHP on Windows Overview. AGENDA MS Support for PHP community WS08 +PHP FASTCGI Enhancing PHP with IIS Extending PHP with.NET.
OSTC PHP.net Community PHP Core Internal Support.
Matt Ayers Senior Program Manager Microsoft Corporation WCL403.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Getting Started with Windows Azure Name Title Microsoft Corporation.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
Hands-On Microsoft Windows Server Implementing Microsoft Internet Information Services Microsoft Internet Information Services (IIS) –Software included.
Reset and Recycle IIS Reset Application Pool Management Error Codes New HTTP Sub-status codes Custom/Detailed Errors Tracing in IIS7 and.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
This is the main tracing and diagnostics presentation. Very important that this be practical and useful information. IT Pro audience is very.
Nik Kalyani Co-founder DotNetNuke Corporation WUX312.
April-June 2006 Windows Hosting Seminar Series Technical Labs.
IIS 7 for Hosters Deven Kampenhout Web Platform Architect Developer & Platform Evangelism.
Pieter Hancke Senior Consultant Microsoft Consulting Services Session Code: WCL303.
IIS Manager Details Delegated Administration Configuration System.
Mohammed Abdul Muqeet Khan Microsoft MVP – IIS | HCL
OFC308 Hilton Giesenow Development Manager - 3fifteen Host –
David B. Cross Product Unit Manager Microsoft Corporation Session Code: SIA303 Donny Rose Senior Program Manager.
What’s New with IIS 8: Open Web Platform for Cloud
1/27/2018 6:07 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Deployment Internals: Mastering Windows Deployment Services
2010 Microsoft BI Conference
Excel Services Deployment and Administration
Overview of Social Computing in Microsoft SharePoint 2010
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
11/29/2018 1:22 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Intro to Workflow Services and Windows Server AppFabric
Tech·Ed North America /2/2019 4:47 PM
ASP.NET 4 Core Runtime for Web Developers
Microsoft Visual Studio 2010 for Web Deployment
Tech·Ed North America /22/2019 3:15 AM
From Development to Production: Optimizing for Continuous Delivery
Building Business Applications in LightSwitch
TechEd /28/2019 3:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Tech Ed North America /12/2019 6:45 AM Required Slide
Brandon Bray Principal Group Program Manager Microsoft Corporation
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
2010 Microsoft BI Conference
Service Template Creation from the Ground Up
Service Template Creation from the Ground Up
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
Microsoft Dynamics.
Microsoft Virtual Academy
Microsoft Virtual Academy
Presentation transcript:

Peter J. Meister Group Product Manager Microsoft Corporation Session Code: WSV318

Why Use PHP on Windows? Migrate existing PHP applications to Windows with virtually no modifications Combine PHP with Microsoft® technologies to create rich Web sites Reuse existing PHP applications and infrastructure on Windows Provide customers greater availability of applications and capabilities without increasing costs

The Windows Web Platform Overview of the platform components

Windows Web Platform PHP Microsoft® SQL Server® 2008 Internet Information Services (IIS) 7.0 Windows Server® 2008

Windows Server 2008 The most advanced Windows Server operating system yet A great multipurpose operating system Provides world-class support Offers competitive virtualization Provides outstanding value More secure end to end An outstanding Web server Includes IIS 7.0 for developing and reliably hosting Web applications and services More advantageous licensing with the Web edition

Server Core A powerful Web server on top of a minimal footprint operating system A low-footprint server installation option that reduces: Servicing requirements Management requirements Attack surface Disk space usage IIS 7.0 and PHP can run on Server Core

Includes IIS 7.0 Security-enhanced, easy-to-manage Web platform Built-in support for PHP via FastCGI A new, request-processing architecture Windows Server 2008 as a PHP Web ServerFastCGI

IIS 7.0 Modular Architecture Full IIS Web server contains 44 modules New modular architecture can enhance security, performance, and reliability

IIS 7.0 Improvements from Previous Versions Security improvements End-to-end extensibility Improved error tracing and diagnostic support

IIS Manager Easy to: Use for configuration Manage remote administration over HTTPS Extend

AppCmd Single command-line tool for managing IIS 7.0 Can use to: Create and configure sites, applications, application pools, and virtual directories Start and stop sites Recycle application pools List running worker processes and examine currently executing requests Search, manipulate, export, and import IIS and Microsoft® ASP.NET configuration

Advantages of IIS 7.0 for PHP Modular architecture for reduced attack surface XML-based configuration system Remote management capability Advanced diagnostics Integration with Windows Media® Services Simple extensibility APIs

PHP-Specific IIS 7.0 Enhancements FastCGI included as built-in component Delegated management to site owners Metabase replaced by configuration files Module support provides capabilities similar to mod_rewrite

PHP-Specific Features in IIS 7.0

PHP Optimizations for Windows Improved registry handling for PHP Rewritten and updated file system functions Updated memory manager Optimized timeout thread started only when needed

FastCGI Run PHP applications reliably and with high performance As reliable as CGI because a single-threaded execution environment for PHP scripts is enforced. As fast as ISAPI because processes are reused.

Install PHP Use Microsoft® Windows® Installer Use Zip installation

PHP Settings Extensions needed for most of the common PHP applications include: Database Image handling Internationalization and localization Web Services Php.ini file settings include: fastcgi.logging = 0 cgi.force_redirect = 0

Microsoft Web Platform Installer For installing and configuring the entire Microsoft Web platform IIS 7.0 Microsoft® Visual Web Developer™ 2008 Express Edition Microsoft® SQL Server® 2008 Express The Microsoft®.NET Framework

Microsoft Web Application Installer Helps get you up and running with the most widely used Web applications, including: Graffiti DotNetNuke WordPress Drupal OSCommerce

Server Migration Microsoft has produced a rich set of PHP migration documentation and a toolkit to assist in deployment Basic steps in migration: 1. Install environment 2. Migrate content 3. Migrate application 4. Fine tune

Optimization Best Practices Getting the most from the Windows Web platform

Disable Unneeded Services and Processes Free up resources Remove processes such as: Microsoft Find Fast and other search indexing services Three-dimensional screen savers Unused network protocols Unneeded mail servers Unused antivirus scanners and hardware drivers

Optimize Server Performance Maximize data throughput for network applications by running the IIS 7.0 pageable code in working memory Run the IIS process as a background service Minimize IIS logging

Enable Bandwidth Throttling Limit the network bandwidth and number of connections available to individual Web sites Use the Bit Rate Throttling Module Enable CPU monitoring

Use HTTP Keep-Alives and HTTP Compression HTTP Keep-Alives improve Web server performance by keeping a client/server connection open across multiple requests HTTP compression reduces bandwidth needed to deliver application responses

Enable IIS 7.0 Output Cache A good way to improve performance of applications that execute repeated work Enables caching of dynamic content from PHP

Provide Security Isolation for Web Sites Use one application pool per Web site Use a dedicated user account as an identity for the application pool Configure anonymous user identity to use the application pool identity Ensure that FastCGI impersonation is enabled in the php.ini file

Application Pool Isolation

(TBD still determining) Name Title Company

Extend IIS 7.0 Administer Web server and Web sites remotely IIS Manager uses HTTPS Ideal for shared Web-hosting environments Applications can be deployed and configured from the IIS Manager Extend the configuration schema to help manage applications

Manage IIS with the PowerShell Provider Enables creation and configuration of application pools, Web sites, Web applications, and virtual directories Enables Querying of run- time data Enables search and discover configuration settings

Use a Non-Thread-Safe Build of PHP Non-thread-safe PHP is faster No thread-related locks No per-thread data structure handling Non-thread-safe PHP components and applications run reliably on FastCGI Available in PHP and greater

Enable Per-Site PHP Configuration To provide different PHP settings for each application Create per-site PHP process pools Associate a dedicated FastCGI process pool with each Web site Specify the php.ini locations

Enable PHP Versioning Run multiple PHP versions on the same Web server Place corresponding PHP binaries in separate folders on file system Create FastCGI application process pools for each version Define handler mapping on each site to reference corresponding application pool

Provide URL Rewriting Functionality Equivalent to Apache ' s mod_rewrite Enables user-friendly and search engine- friendly URL with dynamic Web applications Rewrite URLs based on HTTP headers and server variables Provides Web site content management Allows control of access to Web site content

Additional Features Configuration delegation Failed request troubleshooting Integrated pipeline Allows services provided by both native and managed modules to apply to all requests Lets ASP.NET components provide previously unavailable functionality Provides a single place to implement, configure, monitor, and support server features

Summary Windows is a premier platform for PHP Migrate existing PHP applications to Windows with virtually no modifications Combine PHP with Microsoft technologies to create rich Web sites Best practices include: Improving performance by maximizing throughput and reducing bandwidth for applications Enhancing security by reducing attack surface and isolating Web sites Windows Web platform brings a familiar UI and ease of use to the server platform Windows Server 2008 A solid, multipurpose operating system and an outstanding Web server A solid, multipurpose operating system and an outstanding Web server Server Core is a low- footprint installation option Server Core is a low- footprint installation option IIS 7.0 A security-enhanced, easy- to-manage Web platform A security-enhanced, easy- to-manage Web platform Includes built-in support for PHP via FastCGI Includes built-in support for PHP via FastCGI Microsoft SQL Server 2008 or MySQL Use the SQL Server Driver for PHP Use the SQL Server Driver for PHP

Links for More Information PHP on IIS: IIS 7.0 home page: Windows Server 2008 home page: SQL Server 2008 home page: Microsoft SQL Server Driver for PHP team blog: SQL Server Driver for PHP: PHP community forum:

Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources Microsoft Certification & Training Resources Resources

Related Content Breakout Sessions (session codes and titles) Developer Drilldown on the Linux Web Platform to Windows Web Platform Migration Toolkit – WSV306 Developer Drilldown on the Linux Web Platform to Windows Web Platform Migration Toolkit – WSV306 Next Generation Web: What's in It for Your Organization - ISB202 Next Generation Web: What's in It for Your Organization - ISB202 Interactive Theater Sessions (session codes and titles) Hands-on Labs (session codes and titles)

Windows Server Resources Make sure you pick up your copy of Windows Server 2008 R2 RC from the Materials Distribution Counter Learn More about Windows Server 2008 R2: Technical Learning Center (Orange Section): Highlighting Windows Server 2008 and R2 technologies Over 15 booths and experts from Microsoft and our partners Over 15 booths and experts from Microsoft and our partners

Windows Server Resources Make sure you pick up your copy of Windows Server 2008 R2 RC from the Materials Distribution Counter Learn More about Windows Server 2008 R2: Technical Learning Center (Orange Section): Highlighting Windows Server 2008 and R2 technologies Over 15 booths and experts from Microsoft and our partners Over 15 booths and experts from Microsoft and our partners

Track Resources Resource 1 Resource 2 Resource 3 Resource 4

Complete an evaluation on CommNet and enter to win!

© 2009 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.

Peter J. Meister Group Product Manager Microsoft Corporation Session Code: WSV318

Why Use PHP on Windows? Migrate existing PHP applications to Windows with virtually no modifications Combine PHP with Microsoft® technologies to create rich Web sites Reuse existing PHP applications and infrastructure on Windows Provide customers greater availability of applications and capabilities without increasing costs

The Windows Web Platform Overview of the platform components

Windows Web Platform PHP Microsoft® SQL Server® 2008 Internet Information Services (IIS) 7.0 Windows Server® 2008

Windows Server 2008 The most advanced Windows Server operating system yet A great multipurpose operating system Provides world-class support Offers competitive virtualization Provides outstanding value More secure end to end An outstanding Web server Includes IIS 7.0 for developing and reliably hosting Web applications and services More advantageous licensing with the Web edition

Server Core A powerful Web server on top of a minimal footprint operating system A low-footprint server installation option that reduces: Servicing requirements Management requirements Attack surface Disk space usage IIS 7.0 and PHP can run on Server Core

Windows Server 2008 as a PHP Web Server Includes IIS 7.0 Security-enhanced, easy-to-manage Web platform Built-in support for PHP via FastCGI A new, request-processing architectureFastCGI

IIS 7.0 Modular Architecture Full IIS Web server contains 44 modules New modular architecture can enhance security, performance, and reliability

IIS 7.0 Improvements from Previous Versions Security improvements End-to-end extensibility Improved error tracing and diagnostic support

IIS Manager Easy to: Use for configuration Manage remote administration over HTTPS Extend

AppCmd Single command-line tool for managing IIS 7.0 Can use to: Create and configure sites, applications, application pools, and virtual directories Start and stop sites Recycle application pools List running worker processes and examine currently executing requests Search, manipulate, export, and import IIS and Microsoft® ASP.NET configuration

Advantages of IIS 7.0 for PHP Modular architecture for reduced attack surface XML-based configuration system Remote management capability Advanced diagnostics Integration with Windows Media® Services Simple extensibility APIs

PHP-Specific IIS 7.0 Enhancements FastCGI included as built-in component Delegated management to site owners Metabase replaced by configuration files Module support provides capabilities similar to mod_rewrite

PHP-Specific Features in IIS 7.0

PHP Optimizations for Windows Improved registry handling for PHP Rewritten and updated file system functions Updated memory manager Optimized timeout thread started only when needed

FastCGI Run PHP applications reliably and with high performance As reliable as CGI because a single-threaded execution environment for PHP scripts is enforced. As fast as ISAPI because processes are reused.

Install PHP Use Microsoft® Windows® Installer Use Zip installation

PHP Settings Extensions needed for most of the common PHP applications include: Database Image handling Internationalization and localization Web Services Php.ini file settings include: fastcgi.logging = 0 cgi.force_redirect = 0

Microsoft Web Platform Installer For installing and configuring the entire Microsoft Web platform IIS 7.0 Microsoft® Visual Web Developer™ 2008 Express Edition Microsoft® SQL Server® 2008 Express The Microsoft®.NET Framework

Microsoft Web Application Installer Helps get you up and running with the most widely used Web applications, including: Graffiti DotNetNuke WordPress Drupal OSCommerce

Server Migration Microsoft has produced a rich set of PHP migration documentation and a toolkit to assist in deployment Basic steps in migration: Install environment Migrate content Migrate application Fine tune

Optimization Best Practices Getting the most from the Windows Web platform

Disable Unneeded Services and Processes Free up resources Remove processes such as: Microsoft Find Fast and other search indexing services Three-dimensional screen savers Unused network protocols Unneeded mail servers Unused antivirus scanners and hardware drivers

Optimize Server Performance Maximize data throughput for network applications by running the IIS 7.0 pageable code in working memory Run the IIS process as a background service Minimize IIS logging

Enable Bandwidth Throttling Limit the network bandwidth and number of connections available to individual Web sites Use the Bit Rate Throttling Module Enable CPU monitoring

Use HTTP Keep-Alives and HTTP Compression HTTP Keep-Alives improve Web server performance by keeping a client/server connection open across multiple requests HTTP compression reduces bandwidth needed to deliver application responses

Enable IIS 7.0 Output Cache A good way to improve performance of applications that execute repeated work Enables caching of dynamic content from PHP

Provide Security Isolation for Web Sites Use one application pool per Web site Use a dedicated user account as an identity for the application pool Configure anonymous user identity to use the application pool identity Ensure that FastCGI impersonation is enabled in the php.ini file

Application Pool Isolation

Extend IIS 7.0 Administer Web server and Web sites remotely IIS Manager uses HTTPS Ideal for shared Web-hosting environments Applications can be deployed and configured from the IIS Manager Extend the configuration schema to help manage applications

Manage IIS with the PowerShell Provider Enables creation and configuration of application pools, Web sites, Web applications, and virtual directories Enables Querying of run-time data Enables search and discover configuration settings

Use a Non-Thread-Safe Build of PHP Non-thread-safe PHP is faster No thread-related locks No per-thread data structure handling Non-thread-safe PHP components and applications run reliably on FastCGI Available in PHP and greater

Enable Per-Site PHP Configuration To provide different PHP settings for each application Create per-site PHP process pools Associate a dedicated FastCGI process pool with each Web site Specify the php.ini locations

Enable PHP Versioning Run multiple PHP versions on the same Web server Place corresponding PHP binaries in separate folders on file system Create FastCGI application process pools for each version Define handler mapping on each site to reference corresponding application pool

Provide URL Rewriting Functionality Equivalent to Apache's mod_rewrite Enables user-friendly and search engine-friendly URL with dynamic Web applications Rewrite URLs based on HTTP headers and server variables Provides Web site content management Allows control of access to Web site content

Additional Features Configuration delegation Failed request troubleshooting Integrated pipeline Allows services provided by both native and managed modules to apply to all requests Lets ASP.NET components provide previously unavailable functionality Provides a single place to implement, configure, monitor, and support server features

Summary Best practices include: Improving performance by maximizing throughput and reducing bandwidth for applications Enhancing security by reducing attack surface and isolating Web sites Windows is a premier platform for PHP Migrate existing PHP applications to Windows with virtually no modifications Combine PHP with Microsoft technologies to create rich Web sites Windows Web platform brings a familiar UI and ease of use to the server platform Windows Server 2008 A solid, multipurpose operating system and an outstanding Web server Server Core is a low- footprint installation option IIS 7.0 A security-enhanced, easy-to-manage Web platform Includes built-in support for PHP via FastCGI Microsoft SQL Server 2008 or MySQL Use the SQL Server Driver for PHP

Resources PHP on IIS: IIS 7.0 home page: Windows Server 2008 home page: SQL Server 2008 home page: Microsoft SQL Server Driver for PHP team blog: SQL Server Driver for PHP: PHP community forum:

Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources Microsoft Certification & Training Resources Resources

Related Content Breakout Sessions Developer Drilldown on the Linux Web Platform to Windows Web Platform Migration Toolkit – WSV306 Developer Drilldown on the Linux Web Platform to Windows Web Platform Migration Toolkit – WSV306 Next Generation Web: What's in It for Your Organization - ISB202 Next Generation Web: What's in It for Your Organization - ISB202

Windows Server Resources Make sure you pick up your copy of Windows Server 2008 R2 RC from the Materials Distribution Counter Learn More about Windows Server 2008 R2: Technical Learning Center (Orange Section): Highlighting Windows Server 2008 and R2 technologies Over 15 booths and experts from Microsoft and our partners Over 15 booths and experts from Microsoft and our partners

Complete an evaluation on CommNet and enter to win!

© 2009 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.