Installing Xdebug for PHP on Ubuntu with XAMPP


I'm running XAMPP 1.7.3a on Ubuntu 9.10. With Netbeans 6.7.1 as my editor, I want to be able to debug my PHP sites.

To do this, I looked up Xdebug and started following the installation instructions, found here: <a href="http://xdebug.org/docs/install" rel="nofollow">http://xdebug.org/docs/install</a>.

Trying to compile the .tgz file, run in to a problem.

Step 3) I can execute that, but what use does it have? I don't get the output or what I should do with it.

Step 4) I execute the following command:<br />

./configure --enable-xdebug --with-php-config=/opt/lampp/etc/

At the bottom of the output, it says: configure:


error: Cannot find php-config. Please use --with-php-config=PATH


I've checked the location I entered, the php.ini file is there and so are all other config files.

So, I'm not sure what to do now. Should I ignore and just do the 'make' command, or does something else yet need to be done?


you have to pass the path to the php config binary - should be something like



<strong>All the binaries in XAMPP</strong> are located in


That's why if you work with XAMPP's PHP version you ought to proceed all operations using binaries from there.

<em>For example, after installation of XAMPP it's possible to set path to it's PHP bin file</em>.


  • how install openssl for php 5.3.5 on windows xp?
  • Xdebug installed but does not display in Phpinfo for Xampp
  • Remote debugging of a Java application launched as a Windows service
  • Edit assembly language code in Visual Studio while stepping through each statement
  • Upgrade project from WorkLight 6.1 to MobileFirst 7.1
  • F#: In which memory area is the continuation stored: stack or heap?
  • chrome video src change not working
  • OSX - always hide certain files
  • Compiling dlib on OS X
  • NUnit 3.0 TestCase const custom object arguments
  • Debugging VB6 Code From Visual Studio 2010
  • Security issues with PHP's Readfile method
  • How to generate and display a QR Code in ionic 2
  • Diff between two dataframes in pandas
  • Zurb Foundation _global.scss meta styles for js?
  • ADO and msqli connections very slow
  • Groovy: Unexpected token “:”
  • onBackPressed() not being executed
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • ImageMagick, replace semi-transparent white with opaque white
  • Cannot connect to cassandra from Spark
  • Read text file and split every line in MSBuild
  • How to add a column to a Pandas dataframe made of arrays of the n-preceding values of another column
  • Cross-Platform Protobuf Serialization
  • Deserializing XML into class C#
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Delete MySQLi record without showing the id in the URL
  • QuartzCore.framework for Mono Develop
  • RestKit - RKRequestDelegate does not exist
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Turn off referential integrity in Derby? is it possible?
  • Qt: Run a script BEFORE make
  • python draw pie shapes with colour filled
  • JaxB to read class hierarchy
  • Programmatically clearing map cache
  • How to Embed XSL into XML