Microsoft, PHP and IIS7

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + pletisan pletisan 2 years ago
    the labels’ positions are somewhat misplaced....
    at least it seams to me looking through google chrome
Post a comment
Embed Video
Edit your comment Cancel

1 Favorite & 1 Group

Microsoft, PHP and IIS7 - Presentation Transcript

  1. Nick Hodge Microsoft Australia Professional Geek [email_address] Jorke Odolphi Microsoft Australia Web Infrastructure Evangelist [email_address]
  2. This is not your father’s Microsoft
  3.  
  4. IIS Request Processing Server functionality is split into ~ 40 modules... Modules plug into a generic request pipeline… Modules extend server functionality through a public module API. Authorization ResolveCache UpdateCache … … … Monolithic implementation Install all or nothing … Extend server functionality only through ISAPI … Send Response Log Compress NTLM Basic Determine Handler CGI Static File ISAPI Authentication Anon SendResponse Authentication ExecuteHandler ASP.NET PHP
  5. IIS 6.0 ASP.NET Processing Runtime limitations Only sees ASP.NET requests Feature duplication … … … … aspnet_isapi.dll Send Response Log Compress NTLM Basic Determine Handler CGI Static File ISAPI Authentication Anon Authentication Forms Windows Map Handler ASPX Trace …
  6. IIS6 Application Framework support
    • Common Gateway Interface (CGI) for CGI and PHP applications
      • Benefits
        • Very simple to implement and use – single-threaded execution
      • Disadvantages
        • Poor performance due to high process creation cost
        • Creates and passes request data to a new CGI process
        • Waits for CGI process to produce response
        • Shuts down CGI process
  7. IIS6 Application Framework support
    • Internet Server Application Programming Interface (ISAPI)
      • Benefit of ISAPI
        • Can be extremely fast when written correctly
      • Disadvantage of ISAPI
        • Must be thread-safe (many PHP extensions are not!)
        • Requires development in C++
  8. PHP Setup
  9. Per-site PHP configuration Configuring FastCGI process pool < fastCgi > < application fullPath =&quot;C:PHPphp-cgi.exe&quot; arguments =&quot;-d my.website=website1&quot;> < environmentVariables > < environmentVariable name =&quot;PHPRC&quot; value =&quot;C:WebSiteswebsite1&quot; /> </ environmentVariables > </ application > </ fastCgi > Combination of fullPath and arguments uniquely identify FastCGI process pool definition PHPRC environment variable contains path to the php.ini file
  10. IIS Extensions
    • Mod_rewrite support for URL rewriting
  11. SQLServer 2008
    • Express version with Management Studio
      • Free (as in beer) download
    • MySQL .NET drivers (data import/export)
    • Open source: Microsoft SQLServer Driver for PHP
  12. Resources
    • http://learn.iis.net
    • http://port25.technet.com
    • http://codeplex.com/
    • http://port25.technet.com/archive/2008/07/25/osp.aspx

+ Nick HodgeNick Hodge, 2 years ago

custom

3798 views, 1 favs, 2 embeds more stats

Presented to the Sydney PHP User Group, 4th Septemb more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 3798
    • 3701 on SlideShare
    • 97 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 29
Most viewed embeds
  • 85 views on http://www.sydphp.org
  • 12 views on http://blogs.msdn.com

more

All embeds
  • 85 views on http://www.sydphp.org
  • 12 views on http://blogs.msdn.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events