Top Topic ?

Zend Server CE and Xdebug install on Ubuntu

Posted in php by Ladislav Prskavec on May 21, 2009

Install Zend Server CE

  1. Open terminal and login as root root sudo -i
  2. Edit sources list nano /etc/apt/sources.list
  3. Add row: deb ce non-free
  4. Get and install key: wget -O- |apt-key add -
  5. Update repository: apt-get update
  6. Install Zend Server CE: aptitude install zend-ce

Install Xdebug

  1. You have to have this packages installed: build-essential, autoconf.

    sudo apt-get install build-essential
    sudo apt-get install autoconf
  2. Get Xdebug source, unpack and compile.

    tar -xzf xdebug-2.0.4.tgz
    cd xdebug-2.0.4/
    ./configure --enable-xdebug --with-php-config=/usr/local/zend/bin/php-config
  3. Compiled library is in xdebug-2.0.4/modules/
  4. Copy library into /usr/local/zend/lib/debugger/

    cp modules/ /usr/local/zend/lib/debugger/

  5. Edit file /usr/local/zend/etc/ext.d/debugger.ini and comment row (add semicolon)


  6. Add at end /usr/local/zend/etc/php.ini new row with


  7. Restart server /etc/init.d/zend-server restart
Tagged with: ,