Home > Groups > Web Development > Install XDebug on ( LAMPP OR XAMPP For Linux )

Install XDebug on ( LAMPP OR XAMPP For Linux )

Article
Published in

To Install XDebug on LAMPP

1) Download the latest version of ( XAMPP For Linux ) From site http://www.apachefriends.org/en/xampp-linux.html
2) Install it. To install lampp, extract and put in /opt directory.
3) Download Development package from same site.
4) Extract it, copy and paste "include" folder from Development package to /opt/lampp directory. ( This package would use for compiling XDebug source )
5) Run command /opt/lampp/bin/pecl update-channels. this would update the pecl channels database at your local pc.
6) Run command /opt/lampp/bin/pecl install Xdebug. And wait for finishing the process.
7) Now xdebug.so file has been created in /opt/lampp/lib/php/extensions/ directory.
8) Now Open the file php.ini and add the line zend_extension="/opt/lampp/lib/php/extensions/path_to_xdebug.so". at the end of file.
9) Restart Lampp & Check enabled or not using phpinfo();

Your rating: None Average: 5 (7 votes)

Bookmark and Share
Home Back To Top