Slow PHP on Windows server

170 views
asked Dec 15, 2012 in General by darkshark (1,500 points)
Hi

I am having a problem with my  windows 2008 server/IIS 7.
My PHP pages are very slow, the page could take more than a minute to load at times. I use WHMCS and when I reload the page, it usually works fine. Everything else is working well, like HTML and asp.net. Note that I am using Web Platform Installer version of PHP.

Does anyone know how to fix this?
Appreciate your help
Thanks

3 Answers

0 like 0 dislike
answered Dec 15, 2012 by dona (4,540 points)
Make sure your site is running in FastCGI mode. You should also check the application pool time and increase it if required.
0 like 0 dislike
answered Dec 15, 2012 by expert (14,380 points)
Upgrade your WHCMS and also upgrade your PHP, and IIS to the latest versions .
0 like 0 dislike
answered Dec 15, 2012 by SmartHost (9,060 points)
-Try doing an IIS memory dump.
-Also try to create the same problem on different browsers.
- Try to use a packet capture like httpfox on firefox to go through the http requests
-Check your  memory and see if  PHP has a specifiied amount of memory allocated or if its using  the entire memory located to it
...