There’s more than one way to do it

6 May
Zend Debugger 5.2.5 and Zend Studio 5.5 are both newest products from Zend, the PHP company. Zend Debugger is a full-featured server side php debugger engine, an interactive tool that helps you debug PHP scripts. Zend Studio is a fantastic IDE for PHP programming(I am really happy with its code assistant). If they work together, we can use them to debug any PHP codes on a web server, and have a good studying and development enviroment of PHP.
The installation of Zend Studio 5.5 is very easy. Just follow its setup sequence. However, the installation and configuration for Zend Debugger 5.2.5 is demanding. Fortunately, we have a really good tutorial here. Following its steps start from "Find the extension directory" and you will have this image from call phpinfo() method which indicate the successful of installation.

If you can’t get Zend Debugger to work although you have followed instruction of that tutorial. Please try following solution:
then it should work. The reason for doing this is that Zend Optimizer can’t work with Zend Debugger. It’s very funny, for both of them are Zend’s products.
At here, congratulations! Because I have been trying hard to get this step. Now, put dammy.php in the home directory of your website, and then looking for "zend_debugger.connector_port" at phpinfo() page, and record its value. Open Zend Studio, from tools>preferences choose "debug" tab, and check the "Debug Mode" to "Server", input the value recorded in "Client Debug Port", then press ok.
Now everything is ok, enjoy PHP.
2 Responses for "Working with Zend Debugger 5.2.5 + Zend Studio 5.5"
Zend Studio is pretty a slow IDE and sometimes it even hangs. I’m not sure how majority of Zenders are using it. I found a pretty comfortable IDE for PHP which is NuSphere PhpED ( http://www.nusphere.com ). It’s of high quality and outperforms Zend, especially on big projects like mine.
Thx, JVlad~ now, I use both IDE, and what I really want to have is the debug function,
Leave a reply