1 / 19

PHP on IIS 7

PHP on IIS 7. Harish Ranganathan Live Web Developer Evangelist | Microsoft India http://geekswithblogs.net/ranganh | hrangan@microsoft.com. <?php ?>. What is php?. Written as Common Gateway Interface (CGI) Released first as “Personal Home Page Tools” PHP: Hypertext Preprocessor

dutch
Download Presentation

PHP on IIS 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. PHP on IIS 7 Harish Ranganathan Live Web Developer Evangelist | Microsoft India http://geekswithblogs.net/ranganh | hrangan@microsoft.com

  2. <?php ?>

  3. What is php? • Written as Common Gateway Interface (CGI) • Released first as “Personal Home Page Tools” • PHP: Hypertext Preprocessor • Current release PHP 5.2.8 Dec 8, 2008 • Actively managed by Zend Technologies • Producers of Zend Engine (PHP 4 onwards)

  4. php <?php echo“hello world”; ?> <html> <head><title> <?phpecho$page_title; ?> <title></head> …..

  5. PHP: Object Oriented Programming class foo extends bar { function __construct() { } public static function mystaticfunc() { } } …. foo::mystaticfunc()

  6. PHP Libraries

  7. CGI

  8. CGI Drawbacks • Single process per request • Multiple requests spawn multiple processes • Script engines suffer performance and scability losses

  9. FastCGI

  10. FastCGI • First developed by OpenMarket in 1990s • Single persistent process to handle multiple requests over lifetime • Internal multiplexing • Multiple connections • Thread pool • Web server to process interaction through TCP connection (remote) or domain sockets (local)

  11. IIS 7.0

  12. IIS 7 • Modules! Modules! Modules! • Managed and Native Modules • Custom Modules • Integrated Pipeline Architecture • Goodbye Metabase! • Intuitive Management Console • Reduced Attack Surface • FastCGI built-in module!! • Great performance for PHP, Ruby on Rails, Perl

  13. Why Care? • Great performance!! • Leverage core IIS/.NET features such as Forms Authentication, Output Caching, etc. • ASP.NET and PHP environments running on same box • Interop with .NET, Active Directory, COM+, Web Services, etc. • Seamless development to deployment experience

  14. Notably.. • Phalanger • Managed Code PHP version • www.codeplex.com/phalanger • Several third-party tools and libraries • .NET Integration • ADSI Integration • SQL Server and ODBC Integration

  15. References • Configuring PHP on IIS 7 http://tinyurl.com/phponiis7 • Using FastCGI to Host PHP on IIS 7 http://tinyurl.com/iis7fastcgi

  16. Feedback / QnA • Your Feedback is Important! Please take a few moments to fill out our online feedback form • Use the Question Manager on LiveMeeting to ask your questions now!

  17. Contact (optional slide) • Blog Address http://geekswithblogs.net/ranganh • Email Address hrangan@microsoft.com

More Related