I have a Windows Server 2008R2 Environment with IIS7 and PHP 5.3.
When working with php based CMS's, mainly Wordpress, it was awfully slooooow!
I thought it has something to do with slow MySQL connection issues (for the machine is also running SQL Server), so I purposely set up a Linux Server from an old PC, just to install MySQL.
Same issue, so it was clear it had nothing to do with MySQL..
Then I checked php.ini line by line, and I found that my problem was related with this particular setting:
1 Post
Re: PHP very slow on IIS7
Feb 06, 2014 02:29 PM|this.functional|LINK
Hi lordg,
I have a Windows Server 2008R2 Environment with IIS7 and PHP 5.3.
When working with php based CMS's, mainly Wordpress, it was awfully slooooow!
I thought it has something to do with slow MySQL connection issues (for the machine is also running SQL Server), so I purposely set up a Linux Server from an old PC, just to install MySQL.
Same issue, so it was clear it had nothing to do with MySQL..
Then I checked php.ini line by line, and I found that my problem was related with this particular setting:
output_buffering = 4096
I changed it to output_buffering = Off
Now it's running like a breeze
Thanks for suggesting to check php.ini!!