Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8150277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:01:21+00:00 2026-06-06T15:01:21+00:00

I have a problem to install xdebug on my Ubuntu Server which is using

  • 0

I have a problem to install xdebug on my Ubuntu Server which is using xampp. I know in Stack Overflow there are several questions about this kind of problem but I did not find any solution.

First this is the output of php --version command:

PHP 5.3.8 (cli) (built: Sep 19 2011 13:29:27)  
Copyright (c) 1997-2011 The PHP Group  
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies  
    with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans  

Output of php --ini command:

Configuration File (php.ini) Path: /opt/lampp/etc  
Loaded Configuration File:         /opt/lampp/etc/php.ini  
Scan for additional .ini files in: (none)  
Additional .ini files parsed:      (none)  

Output of php -m command:

[PHP Modules]  
bcmath  
bz2  
calendar  
Core  
ctype  
curl  
date  
dba  
dom  
ereg  
exif  
fileinfo  
filter  
ftp  
gd  
gettext  
hash  
iconv  
imap  
intl  
json  
ldap  
libxml  
mbstring  
mcrypt  
memcache  
mhash  
ming  
mssql  
mysql  
mysqli
mysqlnd  
ncurses  
openssl  
pcntl  
pcre  
PDO  
pdo_mysql  
pdo_pgsql  
pdo_sqlite  
pgsql  
Phar  
posix  
radius  
Reflection  
session  
shmop  
SimpleXML  
soap  
sockets  
SPL  
SQLite  
sqlite3  
standard  
sybase_ct  
sysvsem  
sysvshm  
tokenizer  
wddx  
xdebug  
xml  
xmlreader  
xmlwriter  
xsl  
zip  
zlib  

[Zend Modules]  
xdebug  

When I paste the output of phpinfo() in http://xdebug.org/wizard.php, the site shows the following:

Tailored Installation Instructions

Summary

  • Xdebug installed: 2.2.0
  • Server API: Command Line Interface
  • Windows: no
  • Zend Server: no
  • PHP Version: 5.3.8
  • Zend API nr: 220090626
  • PHP API nr: 20090626
  • Debug Build: no
  • Thread Safe Build: no
  • Configuration File Path: /opt/lampp/etc
  • Configuration File: /opt/lampp/etc/php.ini
  • Extensions directory: /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626
  • You’re already running the latest Xdebug version

    But here are the instructions anyway:

    … … … (lines truncated) … … …

    I write this on my /opt/lampp/etc/php.ini at the bottom:

    [xdebug]  
    zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so  
    xdebug.profiler_output_dir = "/tmp/xdebug"  
    xdebug.profiler_enable = On  
    xdebug.remote_enable = On  
    xdebug.remote_host = "localhost"  
    xdebug.remote_port = 10000  
    xdebug.remote_handler = "dbgp"  
    

    Output of phpunit --version is as follows:

     PHPUnit 3.6.11 by Sebastian Bergmann.  
    

    Now my actual problem arises:

    When I use the following command it shows that xdebug is not installed:

    phpunit --coverage-html ~/build/logs/coverage  
    

    This command’s output is as follows:

    The Xdebug extension is not loaded. No code coverage will be generated.  
    
    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-06-06T15:01:23+00:00Added an answer on June 6, 2026 at 3:01 pm

      It is possible that phpunit uses a different PHP version from the one that you have installed Xdebug for. Try to use php `which phpunit` --coverage-html ~/build/logs/coverage, if that works, then phpunit uses the wrong PHP by default. This could be a path issue.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    I have a problem with my Apache Axis 1.4 service, using the SOAPMonitor which
    I have a problem when I install 'Archive_Zip 0.1.1' on the Linux server, but
    I don't know why. Install the package directly won't have any problem. But will
    I have a problem with the following command: setup.py install. I know it should
    I am trying to install git on a server and have some problem when
    I have a problem with setting Browsing Path in Delphi 2009: When I install
    I have found a minor problem when i install my application on real android
    i have little problem in using my application application having msaccess database if i
    I have a problem There is one iphone software product of our company and
    I have a problem with python-config --ldflags on OS X 10.6.2. Using my non-system

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.