 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Brian Swan's Blog: Performance Tuning PHP Apps on Windows/IIS with Output Caching
by Chris Cornutt June 09, 2011 @ 08:28:03
Brian Swan has a new post to his blog today showing you how to use caching for performance tuning on your Windows/IIS PHP application. He uses the IIS 7 output caching method instead of an external cacing tool or library.
The IIS output caching module allows you to configure IIS to cache dynamic pages generated by PHP. When a PHP page becomes "hot", the content of the page is cached so that is served without executing the script that generates it. [...] With the IIS Output Caching module you can cache all pages generated by PHP, vary what is cached by query string parameter value, or vary what is cached by header value.
He touches briefly on when he thinks you should use output caching for your applications since it can add extra overhead if it's not actually needed. He suggests turning it on when you have entire pages that don't change often and could benefit from just being displayed as-is. He shows how to enable the caching on IIS and includes some bits of code to show the results. There's a few other handy features he points out too like a file change notification and a configuration for a time interval caching rule.
voice your opinion now!
performance tuning cache windows iis tutorial
CodeFury.net: CodeIgniter/PHP + IIS + MySQL + MSSQL It Works!
by Chris Cornutt January 13, 2011 @ 11:09:50
Kenny Katzgrau has a recent post on the Code Fury blog talking about the combination of CodeIgniter, IIS, MySQL and MSSQL and how it all works in his installation (after a few small gotchas).
There are a lot of people out there who call themselves "LAMP" developers - short for Linux, Apache, MySQL, PHP. That's the standard configuration for production PHP applications. Recently, I ended up having to build a CodeIgniter application on Windows, IIS, Mysql+MS-SQL, and PHP. Sound like there are bound to be issues? You bet, and it especially hurts because now I'm a real-live WIMP developer. And what made it even more interesting was that due to constraints, I had to develop the application in Ubuntu and deploy to Windows for production.
He includes the list of the "gotchas" that he came across when doing the installation - six of them:
- PHP and MSSQL on Ubuntu
- PHP and MSSQL on Windows
- mssql vs. sqlsrv
- File Permissions and Logging
- No .htaccess Fo' You!
- 2 Databases, 1 Application
voice your opinion now!
codeigniter iis mysql mssql gotcha install
Josh Holmes' Blog: Rev it up with PHP and IIS
by Chris Cornutt November 16, 2010 @ 09:53:42
In a new post to his blog Josh Holmes has written up a summary of a talk he and Mark Brown (also of Microsoft) gave about running PHP on IIS and how good the performance is. The summary is a result of their session at this year's Zend/PHP Conference.
Mark Brown and I did a talk at ZendCon last week on how well PHP runs in IIS and more specifically, some things that you should do in order to make it run really well on IIS.
They looked back at the history between IIS and PHP - a bit rocky at times - and how, with IIS7 and improvements to FastCGI, this relations has changed for the better. He mentions WinCache, URL Rewrite, the PHP Manager for IIS and the PHP Interoperability effort Microsoft has started.
voice your opinion now!
iis zendcon10 presentation slides microsoft
Josh Holmes' Blog: ASP.NET and PHP On IIS Together
by Chris Cornutt November 12, 2010 @ 11:34:57
Happen to need both ASP.NET and PHP running on the same IIS server? Josh Holmes (and Mark Brown) have you covered with this new presentation posted to Josh's blog.
I got a question the other day about running both ASP.NET and PHP on the same server and whether or not it works. The short answer I gave is "Yes". The longer answer, I'm going to give here. In point of fact, both ASP.NET and PHP work really well on the instance of IIS. They can't share session state but otherwise it's a very peaceful existence.
The slides from the presentation are included in the post. There's also a full tutorial on how to get things set up correctly so that PHP and ASP.NET can play nicely on the same machine.
voice your opinion now!
iis aspnet webserver tutorial presentation
Ruslan Yakushev's Blog: ASP.NET vulnerability affecting PHP sites on IIS
by Chris Cornutt September 23, 2010 @ 08:50:46
As Ruslan Yakushev points out in this new blog entry, the same security issue that's effecting ASP.NET pages running on IIS web servers can still open up PHP scripts running on the same server.
Microsoft has recently released a Security Advisory about a security vulnerability in ASP.NET. This vulnerability exists in all versions of ASP.NET. The PHP applications running on IIS are also subject to this vulnerability if ASP.NET is enabled in IIS.
The issue allows attackers to access the contents of various files on the server and could allow them to tamper with the data inside. Ruslan notes that, while Microsoft is coming up with a fix, one of the safest things you can do is either completely disable ASP.NET in the IIS server or use this workaround.
voice your opinion now!
iis vulnerability aspnet disable workaround security
Josh Holmes' Blog: Scaling WordPress on Microsoft
by Chris Cornutt September 01, 2010 @ 11:16:04
Josh Holmes, just coming off of presenting at OpenCa.mp in Dallas, has posted his entire presentation to his blog for anyone that missed it and wants to catch up. He spoke about scaling WordPress on the Windows platform. He also includes a lot of content in the post that he wasn't able to get to during the presentation.
Now, on to my session itself. This was a fun session. I only had 30 minutes and I had about 3 hours of material so I've got a ton of stuff in these notes that I didn't cover in the session itself. The session is a take off a session that I did at MODxpo back in the spring. The talk itself is about 3-5 minutes of slides and the rest is all demos.
If you're looking for the actual slides, they're over on slideshare, but the real content - including the demos (and screenshots of them) are included. He talks about the Windows Platform Installer, the WinCache library and Windows Azure Data Storage.
voice your opinion now!
scaling wordpress microsoft iis wpi wincache azure opencamp2010 odc10
|
Community Events
Don't see your event here? Let us know!
|