Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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. https://github.com/facebook/hiphop-php/tree/vm

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.