O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Xdebug to the Tool Set

Continuing to gather and prepare our development tools, we will install Xdebug under XAMPP where it will be accessible from NetBeans.

Engage Thrusters

  1. Unpack the XAMPP development package.
    cd ~/Downloads
    tar xzvf xampp-linux-devel-1.7.7.tar.gz
    
  2. Copy the include directory from the package into the root XAMPP directory.
    sudo cp –r lampp/include /opt/lampp/.
    
  3. Update the PECL channels database. Remember to work with the instance of PECL under XAMPP if you have more than one instance on your system.
    sudo /opt/lampp/bin/pecl update-channels
    
  4. The autoconf package is a prerequisite for Xdebug. Use the following command to find out if it is installed:
    sudo dpkg --list autoconf
    

    If autoconf is installed, the output will look like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required