Zend Debugger

The Zend Debugger is a PHP extension which can be installed on a web server to enable the debugging of PHP scripts. Visit the Zend PDT website for more information.


  • CentOS 5.x
  • Apache 2.2.x
  • PHP 5.2.x
  • Zend Debugger 5.2.x


Install Zend Debugger 5.2.x

  1. Download the latest Zend Debugger source files
    1. Visit the Zend Debugger download page
    2. Download the latest files
  2. Extract the Zend Debugger download
  3. Copy the module file into the php modules directory
    cp ZendDebugger-*-linux-glibc23-i386/5_2_x_comp/ZendDebugger.so /usr/lib/php/modules
  4. Copy the dummy.php file to your http root
    cp ZendDebugger-*-linux-glibc23-i386/dummy.php /var/www/html
  5. Delete the remaining Zend files
    rm -f ZendDebugger-*-linux-glibc23-i386.tar.gz
    rm -r -f ZendDebugger-*-linux-glibc23-i386
  6. Create an Apache configuration file
    1. Create an /etc/php.d/ZendDebugger.ini file
    2. Add the following text to the file:
      ; Enable Zend Debugger extension module

      zend_debugger.allow_hosts =
      zend_debugger.expose_remotely = always
  7. Restart Apache
    service httpd restart

Test the Zend Debugger

  1. Visit localhost/phpinfo in a local web browser
  2. Search for the following text
    with Zend Debugger
    If the text cannot be found, the Zend Debugger has not been installed correctly.

Open Source Software: