Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a WAMP (2003, 2.2, 5.1, 5.3) stack and am seeing high CPU load when running a third party, open-sourced application.

Are there any tools to increase CPU use efficiency for PHP or profile what code causes the CPU load to spike?

share|improve this question
I suggest you ask a separate question about profiling on Stack Overflow, as that is very much a programming topic. – John Gardeniers Aug 5 '10 at 19:48

Can you switch to Linux?

This may sound like I'm an advocate for Linux but it really is true that Apache and PHP work much better on Linux. It's an established fact that Linux handles higher network workloads than windows.

It may not help you much but if you're serious about your hosting your app and you can do this then I would look into it. Then look at the HipHop compiler. A JIT compiler for PHP developed by the facebook guys.

share|improve this answer

Try one of the php accelerators like eAccelerator.

share|improve this answer
I'm already using the Zend Optimizer+, which has increased efficiency, but only slightly... – Omer van Kloeten Aug 7 '10 at 7:26
Zend is awful.... Try APC....? – user124609 Jun 14 '12 at 2:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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