PhpDebugger

Aus Info-Theke
Zur Navigation springen Zur Suche springen

Installation Zend-Server

  • in Profile einfügen:
PATH=$PATH:/usr/local/zend/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib
apt-get install php-5.3-extra-extensions-zend-server


Installation Zend Debugger

cd $DOCUMENT_ROOT
cp /usr/local/zend/share/dist/dummy.php .

Eclipse-Einstellungen

PHP Script Debugging

  • Preferences - PHP - PHP-Executables
    • Name: php5
    • Executable path: /usr/local/zend/bin/php
    • PHP ini file: /usr/local/zend/etc/php.ini
    • SAPI Type: CGI
    • PHP debugger: Zend Debugger

Remote Debugging