Configure Zend Debugger with Apache and PHP5

Following Zend Debugger Installation Guide:

Zend Debugger installation instructions
---------------------------------------

1. Extract the Zend Debugger package.

2. Locate the ZendDebugger.so (Unix) or ZendDebugger.dll (Windows) file in the directory which
   corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x,5.3.x).

3. Add the following line to your php.ini file:
   Linux and Mac OS X:      zend_extension=<full_path_to_ZendDebugger.so>
   Windows:                 zend_extension_ts=<full_path_to_ZendDebugger.dll>
   Windows non-thread safe: zend_extension=<full_path_to_ZendDebugger.dll>
4. Add the following lines to your php.ini file:
   zend_debugger.allow_hosts=<host_ip_addresses>
   zend_debugger.expose_remotely=always

   (*) hopst_ip_addresses are the IPs of the hosts which will be allowed to initiate debug sessions

5. Copy the dummy.php file to your document root directory.

6. Restart your Web server.

And be careful about the PHP version you have used.

Attached the working principle of Zend Debugger:

debugging-2.png

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章