Install xdebug-in-ubuntu by Anil Kumar Panigrahi

801 views

Published on

Xdebug is a PHP extension which provides debugging and profiling capabilities. It uses the DBGp debugging protocol. And Installation procedure by Anil Kumar Panigrahi

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
801
On SlideShare
0
From Embeds
0
Number of Embeds
79
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Install xdebug-in-ubuntu by Anil Kumar Panigrahi

  1. 1. Install Xdebug In UbuntuHi friends, here I would like to explain how to install Xdebug in ubuntu 12.04 . By following list of commands wewill installing Xdebug.What is Xdebug:Xdebug is a PHP extension which provides debugging and profiling capabilities. It uses the DBGp debuggingprotocol.The debug information that Xdebug can provide includes the following: stack and function traces in error messages with: full parameter display for user defined functions function name, file name and line indications support for member functions memory allocation protection for infinite recursionsXdebug also provides: profiling information for PHP scripts code coverage analysis capabilities to debug your scripts interactively with a debugger front­end.Above text about Xdebug by http://en.wikipedia.org/wiki/XdebugList of commands
  2. 2. Command 1: sudo apt­get install php5­xdebugCommand 2: sudo find / ­name ‘xdebug.so’Outout /usr/lib/php5/20090626/xdebug.soCommand 3: sudo gedit /etc/php5/cli/conf.d/xdebug.iniCommand 4:There we have already : zend_extension=/usr/lib/php5/20090626/xdebug.soAdd the below lines
  3. 3. xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000Command 5: sudo /etc/init.d/apache2 restartTags: Ubuntu (http://www.anil2u.info/tag/ubuntu/), xdebug (http://www.anil2u.info/tag/xdebug/) 

×