Xdebug installation :-

Steps to install XDebug

1) Download the latest version of ( XAMPP For Linux ) From site [1]
2) Find the PHP version and copy the text of PHP version
3) Go to link [2] ,and paste content there...
4) And press the Button ( analyse my phpinfo() )
5) It will produce some output as below example follow the instruction from that output:-

Instructions
1. Download xdebug-2.1.2.tgz
  
  2. Unpack the downloaded file with tar -xvzf xdebug-2.1.2.tgz
  
  3. Run: cd xdebug-2.1.2
  
  4. Run: phpize
     As part of its output it should show:
     Configuring for:
     Zend Module Api No:      20090626
     Zend Extension Api No:   220090626
     If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.
  
  5. Run: ./configure
  
  6. Run: make
  
  7. Run: cp modules/xdebug.so /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626
  
  8. Edit /opt/lampp/etc/php.ini and add the line
     zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
  
  9. Restart the webserver

No comments:

Post a Comment

Start and Stop ssh-agent

Below is the bash script used to start and stop ss-agent #!/bin/bash ## in .bash_profile SSHAGENT=`which ssh-agent` SSHAGENTARGS="...