@shakedko
IF AN EXPERT SAYS IT CAN'T BE DONE GET ANOTHER EXPERT.
- DAVID BEN-GURION

Setup\Configure Zend Debugger

Using a debugger is very important while writing code, so lets see how to do it with PHP and Zend Debugger:ย 

Install Eclipse or Zend Studioย 

If you have installed Eclipse, you should install two more things:

  1. ย PDT (PHP Development Tools)
  2. Zend Debugger

After extracting everything, search forย ZendDebugger.so path

Edit your php.ini or create another ini --> zend.iniย which will have to be loaded by your PHPย and add:

; Loading Zend Debugger Extension
zend_extension=/your/path/to/ZendDebugger.so
;
; use 127.0.0.1 for local host, or you another local network IP
zend_debugger.allow_hosts=127.0.0.1
;
;
Expose Zend Debugger
;
;
never - do not expose (default)
;
always - expose to whoever want to know
;
allowed_hosts - expose only if request comes from an IP listed above
;
zend_debugger.expost_remotely=always

Save & Restart Apache

Verify yourphpinfo()

Download FireFox or Chrome Extensionย (Chrome extension is not official extension by Zend)ย 

Configure Eclipse \ Zend Studio settings:

Configure your extension settings:

Start debugging!:)ย 

Helpful links:ย 

cmanon.com

stackoverflow - PHP 5.3.5 and Zend Debugger

ย 

devcha.com - Installing Zend Debugger on Windows

ย 

Note for Zend Studio 8.x users:

I suggest that you will update your Zend Studio application by using the following instructions:ย 

http://forums.zend.com/viewtopic.php?f=59&t=10468

Enjoy!

Work In Progress ๐Ÿšง
Discipline