views:

323

answers:

2

I'm looking for a PHP profiler that works with Zend Server (CE). From what I can tell, XDebug is a pain to setup with Zend Server. While Zend Debugger is free (as I understand it), the Profiler is only on Zend Studio.

Any other options?

+1  A: 

I wish I could will you Zend Studio, as the profiler component is quite nice.

XDebug (standalone tip) may be your only option, unfortunately.

Do you have the option of upgrading to Zend Server 5 Professional edition? The Code Tracing feature would help you in profiling. Or, have you looked at PQP or DBG for Eclipse?

I wish I could be more help. The company I work for uses Zend Server for all deployments and the engineers all have Zend Studio.

Good luck.

Inkspeak
I've considered Zend Studio; however, the licensing keeps me from going with it. I have no problem purchasing expensive software that I can only use on one system at a time, but Zend wants a license for every developer for each system they use. That's crazy.
Tim Lytle
That is a headache, for sure. A single server license would be a little more "centralized", as you could VM and run wherever you needed or put on your development sandbox. The code tracing isn't as mature as the Zend Debugger/Profiler but it is a step forward.Have you tried NetBeans' XDebug integration? Maybe it's a little more integrated than Eclipse PDT. Just a thought.
Inkspeak
The problem with XDebug is that it (to my knowledge) doesn't play nice with Zend Server (or maybe it's the other way around). I've been happy using Zend Server CE as a dev stack - perhaps it's not too hard to get it working with XDebug.
Tim Lytle
That's really interesting. Can you point me to a scenario that can illustrate this? I'm most intrigued.
Inkspeak
I guess I didn't follow the links far enough. Seems that it's only an issue using XDebug with Zend Debug (or a few other modules).
Tim Lytle
I hope that means you're on the path to success. Good luck.
Inkspeak
+1  A: 

You should consider the Semantic Designs PHP Profiler.

Doesn't require XDEBUG to be installed. Doesn't require any special configuration of your server. Works with huge PHP applications.

Ira Baxter
Can't seem to find this info on the site - is it Windows only?
Tim Lytle
@Tim Lytle: Windows only.
Ira Baxter
@Tim Lytle: ... actually, the instrumenter tool runs only on Windows. The profiled code can run on any PHP server, on Windows or Linux or wherever else PHP runs.
Ira Baxter