My client prefers to use a Microsoft IIS hosting environment he already has. After some gnashing of teeth I have managed to get it working there, but it is painfully slow (unlike my local LAMP version).

I was inclined to assume some sort of shared server MySQL bottleneck but the host's response to this thought has been…

I don't see any bottlenecks on the server itself, mysql connections to the server and queries on it are running very quickly so I would be looking at the code itself. I've done some tests with simple php + mysql connections on the server and these run very fast, so this is pointing at the CMS doing something slowly, but I'm not familiar with the CMS to know what this is.

Does anyone have experience of Craft running well in IIS on a shared server?

Is there any particular config that is worth trying to get it to do so?

  • Meanwhile… the host has offered a test Linux environment to work with. It will be interesting to see if there are obvious differences in performance. Apr 10, 2017 at 14:50
  • Which version of PHP are you running? PHP 7 is notably faster.
    – Lindsey D
    Apr 10, 2017 at 17:11

1 Answer 1


I run Craft on IIS/Win 10 on my main development box and don't have issues with it. Don't recall having to jump through hoops to get it working, either.

I suspect it's more of the "shared server" that's the issue, but you can start by enabling devMode in Craft and check the timestamped profiling output (code and database) in the browser's console and craft/storage/runtime/logs to try and narrow down where the time is going.

  • Belated thanks, Brad. I suspect you are right. The client in question is now running it under LAMP and performance is much better, though still sluggish. Pretty sure it's his host that he is wedded to. Aug 18, 2017 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.