Debugging with Zend Studio and Wampserver
I recently rebuilt my laptop running Windows 7 64-bit. Before the rebuild, I ran my own WAMP stack which installed all the components separately, but after rebuilding I decided to try out the built-in WAMP stack as it allowed me to easily switch between Apache / PHP / MySQL versions, so I decided on Wampserver.
However, since I switched, I cannot debug working with Zend Studio. I have the Zend Debug Panel installed in Firefox, and usually I just set a breakpoint in Zend Studio and in Firefox select the debug option, i.e. debug this page, all pages, messages, etc. However, now this does not call Zend Studio to enter debug mode and just bypasses everything.
I added the following to the php.ini file loaded by Apache (as seen from phpinfo):
[Zend] zend_extension_ts="C:/Program Files (x86)/Zend/ZendDebugger/5_3_x_nts_comp/ZendDebugger.dll" zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.64,192.168.1/150 zend_debugger.expose_remotely=always
Also, Wampserver installed Xdebug and I have commented out the following lines in php.ini if there is a conflict:
; XDEBUG Extension ;zend_extension = "c:/wamp/bin/php/php5.3.10/zend_ext/php_xdebug-2.1.2-5.3-vc9-x86_64.dll" ;[xdebug] ;xdebug.remote_enable = off ;xdebug.profiler_enable = off ;xdebug.profiler_enable_trigger = off ;xdebug.profiler_output_name = cachegrind.out.%t.%p ;xdebug.profiler_output_dir = "c:/wamp/tmp"
Would appreciate any advice or pointers in the right direction anyone can give me.
Thanks in advance.
PS. I am running PHP5.3
source to share