<ul><li>By   Josh Holmes  </li></ul>WORDPRESS ON WINDOWS…
<ul><ul><li>Background </li></ul></ul><ul><ul><li>What’s New </li></ul></ul><ul><ul><li>Microsoft and Open Source Technolo...
<ul><li>PHP on Windows was:  </li></ul><ul><ul><li>Slow </li></ul></ul><ul><ul><li>Unreliable </li></ul></ul><ul><ul><li>N...
<ul><li>FastCGI support for IIS 7.0, 6.0, 5.11:  </li></ul><ul><ul><li>Finally a fast and reliable way to run PHP on Windo...
<ul><ul><li>Microsoft Employees Submit to PHP Core </li></ul></ul><ul><ul><li>Microsoft Employees Submit to Open Source PH...
<ul><ul><li>Configures IIS FastCGI on all Windows Versions </li></ul></ul><ul><ul><li>Sets the recommended PP configuratio...
PHP IS PART OF THE MICROSOFT WEB PLATFORM
<ul><ul><li>Drives the standard PHP Installer </li></ul></ul><ul><ul><li>Downloads the installer from  http://windows.php....
PHP APPLICATIONS IN THE WEB PI
<ul><ul><li>Applications are hosted on their own web sites. </li></ul></ul><ul><ul><li>The package includes a manifest fil...
WINCACHE EXTENSION FOR PHP
<ul><ul><li>Caches PHP opcode and file content in shared memory </li></ul></ul><ul><ul><li>API’s for refreshing the cache ...
<ul><ul><li>Legal barrios being removed. </li></ul></ul><ul><ul><li>Working with the PHP Community </li></ul></ul><ul><ul>...
<ul><li>The Windows version of PHP now exposes a set of constants prefixed  PHP_WINDOWS_* . A list of these constants and ...
<ul><li>How WinCache makes PHP run faster  </li></ul><ul><ul><li>http://blogs.iis.net/ksingla/archive/2009/09/19/how-winca...
<ul><ul><li>Getting up and running with PHP and PHP Applications on Windows is easy. </li></ul></ul><ul><ul><li>PHP Apps o...
THANKS  [email_address] @joshholmes http://www.joshholmes.com
Upcoming SlideShare
Loading in...5
×

Wordpress On Windows

2,423

Published on

This is the presenation that I did at WordCamp Ireland talking about running PHP on Windows with a focus on Wordpress.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,423
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Wordpress On Windows"

  1. 1. <ul><li>By Josh Holmes </li></ul>WORDPRESS ON WINDOWS…
  2. 2. <ul><ul><li>Background </li></ul></ul><ul><ul><li>What’s New </li></ul></ul><ul><ul><li>Microsoft and Open Source Technologies </li></ul></ul>AGENDA
  3. 3. <ul><li>PHP on Windows was: </li></ul><ul><ul><li>Slow </li></ul></ul><ul><ul><li>Unreliable </li></ul></ul><ul><ul><li>Not Compatible </li></ul></ul><ul><li>IIS support for PHP was a joke: </li></ul><ul><ul><li>CGI implementation was SLOW </li></ul></ul><ul><ul><li>ISAPI implementation was unreliable </li></ul></ul><ul><ul><ul><li>Thread-safe dependency never would have worked anyway </li></ul></ul></ul><ul><ul><li>No URL rewriting support </li></ul></ul>HISTORY - (PRIOR TO 2006)
  4. 4. <ul><li>FastCGI support for IIS 7.0, 6.0, 5.11: </li></ul><ul><ul><li>Finally a fast and reliable way to run PHP on Windows </li></ul></ul><ul><li>SQL Driver for PHP </li></ul><ul><ul><li>Reliable, scalable integration with Microsoft SQL Server </li></ul></ul><ul><ul><li>Development continues </li></ul></ul><ul><li>URL Rewrite in IIS 7.0 </li></ul><ul><li>Fully features and performant URL rewriting engine </li></ul>HISTORY - (2006-2008) Pigs fly !
  5. 5. <ul><ul><li>Microsoft Employees Submit to PHP Core </li></ul></ul><ul><ul><li>Microsoft Employees Submit to Open Source PHP Application </li></ul></ul><ul><ul><ul><li>Wordpress </li></ul></ul></ul><ul><ul><li>PHP included in the “Microsoft Web Platform” </li></ul></ul><ul><ul><li>PHP applications included in the Windows Web Application Gallery </li></ul></ul><ul><ul><li>WinCache extension for PHP ships </li></ul></ul>PRESENT (2009 --> ) More Pigs Fly
  6. 6. <ul><ul><li>Configures IIS FastCGI on all Windows Versions </li></ul></ul><ul><ul><li>Sets the recommended PP configuration directives </li></ul></ul><ul><ul><li>Adds index.php as a default document in IIS configuration </li></ul></ul>PHP INSTALLER On Windows - IIS FastCGI becomes the default
  7. 7. PHP IS PART OF THE MICROSOFT WEB PLATFORM
  8. 8. <ul><ul><li>Drives the standard PHP Installer </li></ul></ul><ul><ul><li>Downloads the installer from http://windows.php.net </li></ul></ul><ul><ul><li>Always the latest 5.2.x release </li></ul></ul><ul><ul><li>PHP 5.3 will be offered soon </li></ul></ul><ul><ul><ul><li>But not yet ? </li></ul></ul></ul>PHP IN THE MICROSOFT WEB PLATFORM INSTALLER Technical Details
  9. 9. PHP APPLICATIONS IN THE WEB PI
  10. 10. <ul><ul><li>Applications are hosted on their own web sites. </li></ul></ul><ul><ul><li>The package includes a manifest file that tells the Web PI what to do: </li></ul></ul><ul><ul><ul><li>Copy Files </li></ul></ul></ul><ul><ul><ul><li>Set file access permissions </li></ul></ul></ul><ul><ul><ul><li>Create a database user </li></ul></ul></ul><ul><ul><ul><li>Create a database schema </li></ul></ul></ul><ul><ul><ul><li>Launch the application’s install page. </li></ul></ul></ul>PHP APPS IN THE MICROSOFT WEB PI Technical Details
  11. 11. WINCACHE EXTENSION FOR PHP
  12. 12. <ul><ul><li>Caches PHP opcode and file content in shared memory </li></ul></ul><ul><ul><li>API’s for refreshing the cache and for cache stats </li></ul></ul><ul><ul><li>Supports PHP 5.2.X and PHP 5.3. </li></ul></ul>WINCACHE FOR PHP Technical Details
  13. 13. <ul><ul><li>Legal barrios being removed. </li></ul></ul><ul><ul><li>Working with the PHP Community </li></ul></ul><ul><ul><ul><li>Windows Specific Testing and Bug Fixes </li></ul></ul></ul><ul><ul><ul><li>PHP Installer Fixes </li></ul></ul></ul><ul><ul><ul><li>Testing PHP Release Packages </li></ul></ul></ul><ul><ul><li>Working with PHP App Communities </li></ul></ul><ul><ul><ul><li>PHP Apps in the Microsoft Web App Gallery (Add Yours !) </li></ul></ul></ul><ul><ul><ul><li>IIS Specific Fixes Submitted to WordPress </li></ul></ul></ul><ul><ul><ul><li>IIS Specific fixes submitted to SilverStripe </li></ul></ul></ul><ul><ul><li>New Open Source Foundation </li></ul></ul>MICROSOFT AND OSS COMMUNITY Hell Freezing Over ? 
  14. 14. <ul><li>The Windows version of PHP now exposes a set of constants prefixed PHP_WINDOWS_* . A list of these constants and their usage can be found at http://docs.php.net/manual/en/info.constants.php </li></ul><ul><li>Warning Support for the ISAPI module has been dropped. Use the improved FastCGI SAPI module instead. </li></ul><ul><li>Note: A new dedicated site for PHP on Windows is now available, including downloads, release candidates, and snapshots in various flavors (thread-safe/not-thread-safe, VC6/VC9, x86/x64). http://windows.php.net/ . </li></ul><ul><li>User Contributed Notes </li></ul><ul><ul><li>“ Well worth the effort to set up fast cgi on windows. No more lockups with php or 40 procs running...and 1 killing IIS. Some PHP INI vars can't be overriden in your php files, so read up (like timeout). 8 months and no more locked up iis.“ </li></ul></ul><ul><ul><li>“ Fast CGI is available for IIS6. Reading the IIS website (which is more appropriate since it is server specific) yields plenty of results regarding PHP setup under the fastCGI module. They even have an entire domain associated with PHP.” </li></ul></ul>PHP ON WINDOWS PROGRESS
  15. 15. <ul><li>How WinCache makes PHP run faster </li></ul><ul><ul><li>http://blogs.iis.net/ksingla/archive/2009/09/19/how-wincache-make-php-run-faster.aspx </li></ul></ul><ul><li>Using WinCache Extensions for PHP </li></ul><ul><ul><li>http://learn.iis.net/page.aspx/678/using-windows-cache-extension-for-php/ </li></ul></ul><ul><li>Changes Made to PHP 5.3 to Support Windows </li></ul><ul><ul><li>http://docs.php.net/manual/en/migration53.windows.php </li></ul></ul><ul><li>Migrating from PHP 5.2.x to PHP 5.3.x </li></ul><ul><ul><li>http://docs.php.net/manual/en/migration53.php </li></ul></ul>RESOURCES
  16. 16. <ul><ul><li>Getting up and running with PHP and PHP Applications on Windows is easy. </li></ul></ul><ul><ul><li>PHP Apps on Windows are fully functional and are easy to install </li></ul></ul><ul><ul><li>WinCache offers a significant performance gain: </li></ul></ul><ul><ul><li>Customers report up to 3X throughput improvement </li></ul></ul>SUMMARY Info at : http://php.iis.net and http://www.microsoft.com/web/php
  17. 17. THANKS [email_address] @joshholmes http://www.joshholmes.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×