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 http://repos.zend.com/deb/ce ce non-free
  4. Get and install key: wget http://repos.zend.com/deb/zend.key -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.

    wget http://www.xdebug.org/files/xdebug-2.0.4.tgz
    tar -xzf xdebug-2.0.4.tgz
    cd xdebug-2.0.4/
    /usr/local/zend/bin/phpize
    ./configure --enable-xdebug --with-php-config=/usr/local/zend/bin/php-config
    make
  3. Compiled library is in xdebug-2.0.4/modules/xdebug.so
  4. Copy library into /usr/local/zend/lib/debugger/xdebug.so

    cp modules/xdebug.so /usr/local/zend/lib/debugger/xdebug.so

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

    ;zend_extension_manager.dir.debugger=/usr/local/zend/lib/debugger

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

    zend_extension=/usr/local/zend/lib/debugger/xdebug.so

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

4 Responses

Subscribe to comments with RSS.

  1. […] Если нужен xDebug под Zend Server CE –  https://toptopic.wordpress.com/2009/05/21/zend-server-ce-and-xdebug-install-on-ubuntu/ […]

  2. […] Junio 17, 2010 por sbarrat Dejar un comentario Install Zend Server CE Open terminal and login as root root sudo -i Edit sources list nano /etc/apt/sources.list Add row: deb http://repos.zend.com/deb/ce ce non-free Get and install key: wget http://repos.zend.com/deb/zend.key -O- |apt-key add – Update repository: apt-get update Install Zend Server CE: aptitude install zend-ce Install Xdebug You have to have this packages installed: build-essential, autoconf. sudo apt-get install build-essential … Read More […]

  3. sone said, on November 27, 2010 at 9:48 pm

    Does anyone know if this works for OSX with Zend Server CE?

    • Ladislav Prskavec said, on March 12, 2011 at 7:38 am

      Zend Server works with OSX but xdebug compile have to use pecl, more information on this guide


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: