0

I am hosting php 5.2 on IIS 8. Yes, I know that's a horrible idea, but that is reality.

The server runs out of resources after our website is up for a few hours because for some reason php-cgi.exe opens up dozens of times:

enter image description here

What am I doing wrong? perhaps something wrong with the php.ini file?

Could this be caused by mssql_result not closing the connection?

I followed this nifty tutorial without luck http://www.iis.net/configreference/system.webserver/fastcgi/application

I have actually been able to limit the number of instances, but then all additional requests are getting processed very slowly.

Alex Gordon
  • 455
  • 3
  • 14
  • 31

1 Answers1

0

I think it's better for you to perform the installation automatically using the tools provided by Microsoft:

  1. Download the Microsoft Web Platform Installer.
  2. Check in Options that you'll use IIS (not IIS Express).
  3. Search for "php", select some version and click "Add".
  4. Click "Install".
Ark-kun
  • 151
  • 1
  • 6