Xdebug is a PHP extension used for debugging. It supports stack and function traces and profiling information.

learn more… | top users | synonyms

0
votes
0answers
76 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
2
votes
1answer
764 views

XDEBUG/PHP doesn't dump profile even when set up properly?

I installed xdebug from source, but also tried my package manager (separately) and they both are loaded correctly (verified by restarting Apache and seeing the xdebug copyright info in phpinfo()) but ...
0
votes
1answer
195 views

Apache2 enable .ini mod in /etc/php5/mods-available

One can use the a2enmod [module] command to enable mods located in /etc/apache2/mods-available. But what about mods in /etc/php5/mods-available? When I try to enable a mod in this directory (eg. ...
0
votes
1answer
194 views

Ubuntu 12.04 install xdebug

I´m trying to get xdebug running on an Ubuntu 12.04 webserver with php 5.3 I fired apt-get install php5-xdebug after that I´ve edited my php.ini to enable it ...
0
votes
2answers
1k views

Cannot connect to xdebug over virtual network - Vagrant Virtualbox

I'm trying to set up a development box using Virtualbox / Vagrant / Puppet with the intention of eventually provisioning all my machines up to production. However this is stopping me going forward at ...
0
votes
0answers
128 views

OS X 10.8.5 Firewall Blocking XDebug in Virtual Box VM From Comms With Netbeans IDE

I've tried working around this with pfctl (seeing as ipfw is deprecated) but I can't seem to get it to work. Using this page as a guide, I've tried multiple variations in /etc/pf.conf, including ...
0
votes
2answers
1k views

Should I add extension=xdebug.so to load xdebug as a php module or not?

First, http://xdebug.org/docs/install says Note: You should ignore any prompts to add "extension=xdebug.so" to php.ini — this will cause problems. Second, http://xdebug.org/docs/install says Xdebug ...
0
votes
1answer
752 views

how to get rid of xdebug cannot be loaded error

How do I get rid off this error when I run php-fpm In my phpinfo, xdebug is mentioned, so why do I get this error Failed loading xdebug.so: dlopen(xdebug.so, 9): image not found I have php54 ...
1
vote
0answers
17 views

install xdebug on ubuntu to one directory

How do I install xdebug on ubuntu to one directory? I've tried adding the confing for xdebug in a php.ini file in the root of the site but this did nothing to override the defaults which are set when ...
0
votes
0answers
27 views

XDebug profiler does not create any files in /tmp

I have enabled XDebug profiler with following config: zend_extension=/usr/lib/php/modules/xdebug.so xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 ...
2
votes
2answers
877 views

xDebug on Zend Server CE under Windows XP [closed]

I have Zend Server installed on my Windows XP development machine, installed when I was naive and didn't know that Eclipse was going to become so suck so badly for PHP development. I've made the ...
0
votes
1answer
707 views

How do I hide the warning message “connect_to localhost port 9000: failed.” when I do a reverse SSH tunnel?

I am currently using a reverse SSH tunnel ssh user@myserver.com -R 9000:localhost:9000 to forward Xdebug (a PHP debugging tool) packets from my server to my local machine. I also have the feature ...
2
votes
3answers
4k views

Install xdebug for php 5.3.17 on centos 6.3 (final)

I'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3. I've tried this link (for centos 5.6 admittedly) but had no luck. Can anyone point to the right RPM ...
0
votes
1answer
429 views

debian 6 - php 5.4.1 - xdebug phpize php-config --version incorrect

I'm quite new with Linux server management and I have a linux server with the following configuration: Distributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 ...
0
votes
2answers
638 views

Web server not available on Debian virtual machine

I have set up a virtual debian machine that I am running on my windows box (using VirtualBox) for a development LAMP stack. Today when I try to load up a dev website from my windows machine the ...
1
vote
1answer
640 views

Nginx + PHP-FPM produce 502 bad gateway instead of fatal error?

I'm currently testing Symfony2 with Nginx and PHP-FPM. I also use Xdebug. Symfony2 comes with a Demo bundle, I wanted to test the new handling of fatal errors which comes with Symfony 2.2.0 by ...
0
votes
1answer
880 views

Is it possible to set up PHP-FPM with different pool-options (xdebug enabled / xdebug disabled)

I've a LEMP environment and need the option to separate all development subdomains from staging (development with xdebug staging without). dev.projectX.mydomain.tld staging.projectX.mydomain.tld ...
0
votes
2answers
842 views

Configuration parameter in xdebug for allowing multiple hosts on remote machine

I am working on one web application. The project located on my linux box i.e. server. We are remotely accessing this machine from windows. I am using xdebug for debugging alongwith Eclipse PDT. ...
0
votes
1answer
144 views

Xdebug - no profile or trace output

I'm at a bit of a loss trying to get profiling and tracing working with Xdebug (debugging works fine). What's worse is that I have it working just fine on a different server/client setup, but I can't ...
0
votes
1answer
82 views

Xdebug only writes to /tmp

I've installed Xdebug on Centos 6.2. It writes cachgrind files to /tmp just fine, But I want it to write to /tmp/xdebug instead. I've added this to my php.ini: xdebug.profiler_output_dir = ...
0
votes
1answer
588 views

Can't start xdebug

I managed to install xdebug and enable it through local php.ini files when needed. It was working just fine for about a month, but today It doesn't. If I try to start a debug session with Zend ...
1
vote
1answer
77 views

Cannot install xdebug

I'm getting a large number of undefined references when using $ld xdebug.so I have added the "zend_extension="/bla/xdebug.so"" to the conf for apache and it is giving me a config test failed ...
3
votes
4answers
3k views

OS X Address Not Available - How do I open this port?

I am trying to get xdebug working on my snow leopard box. It uses port 9000. When I ask slickedit to monitor this port is gives an error that the address is not available. I've gone to ...
0
votes
2answers
574 views

Setting up PHP Code Profiling with Xdebug

I recently installed Xdebug on my server with the intention of using it for code profiling. It seems to be installed correctly, and phpinfo lists the following: xdebug.profiler_enable On ...
-1
votes
1answer
538 views

Best way to install and configure both a development and production server? [closed]

Here's the situation I have... I am working on 3 small websites (one is a photography showcasing site for a family member, one is a blog, and one is a custom CMS I am working on to gain experience in ...
1
vote
1answer
1k views

Getting xdebug to work on my dev server

I am trying to get xdebug to work on my ubuntu 11 04 server. Everything seems setup right and I do see xdebug from phpinfo(). I installed with apt-get install php5-xdebug. The problem is that anytime ...
0
votes
1answer
273 views

How to get xdebug working on a manual compiled php 5.2 binary in debian squeeze

I am exploring a new server setup using debian squeeze(6). From a former FeeBSD perspective I have to say I like the OS verry much. The problem however is that the default PHP version is 5.3. Fixing ...
0
votes
1answer
226 views

Apache request time - what's wrong?

I make JSON API and when measuring performance there's this strange thing. When doing XDEBUG_PROFILE, request processing takes about 100 ms. But browser network panel says it's always 1 - 1.5 seconds. ...
0
votes
1answer
260 views

Xdebug on production server for single account

I have a situation where i have a development site on the same server as a number of production sites, not ideal i know. I would like to use xdebug for the development site but i'm concerned it will ...
1
vote
1answer
212 views

How to use xdebug with eclipse IDE for PHP?

Hi my PHP project is set up on a remote test machine. I need to debug it using eclipse IDE. How shall I progress. I came to know i should prefer Xdebug rather than zend debugger. Please clarify my ...
0
votes
3answers
112 views

What's XDebug used for?

test:coverage relies on XDebug to collect its information, you need to install it and enable it first. How does it work?
0
votes
1answer
482 views

Is xdebug compatible with a custom install of php 5.3?

sudo apt-get install php5-xdebug Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
2
votes
1answer
341 views

Apache: add POST parameter to every request

Is there a way to add fixed POST parameter to every request apache passes to the php? I can change pretty much anything on the server: .htaccess, httpd.conf, php.ini. Both parameter's name and value ...
2
votes
1answer
1k views

Ubuntu: Problem installing Xdebug

I am trying to Install XDebug on Ubuntu latest version but get the following error: pecl install Xdebug WARNING: configuration download directory ...