Questions tagged [xdebug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
65 views

PHP FPM XDebug unavailable for new user on Ubuntu

My Ubuntu 22.04 is running PHP-FPM 7.2, 7.4 and 8.1 with XDebug enabled When I run php -i | grep xdebug in root or my primary account, I see alot of related settings I created another dev1 account, ...
  • 169
1 vote
0 answers
63 views

Cant initiate break points with Xdebug through dbgpProxy on multi-site dev server

I manage a setup with multiple developers using a "developer" Apache Server with PHP 7.4. Since the Ubuntu 20.04 server is running in a private range in AWS, access is only allowed thru a ...
1 vote
1 answer
3k views

php-xdebug can only be installed for php 8

I am having on my system: $ php --version PHP 7.4.2 (cli) (built: Feb 1 2020 17:49:29) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7....
  • 153
1 vote
1 answer
748 views

Unable to install XDebug extension for PHP 8. Ubuntu 20.04.2

I entered the output of phpinfo() func on xDebug wizard webpage and then followed all the steps as described in output. Everything looked fine. No errors. The only concern about suggested actions is ...
  • 457
1 vote
2 answers
5k views

How to downgrade php xdebug version

I have installed xdebug in version v3.0.1 but it cause me problem with php7.2 and my symfony installation. I can not upgrade php version now so i need to downgrade xdebug version to previews (any of ...
  • 13
3 votes
0 answers
2k views

VsCode: PHP XDebug Cannot evaluate code without a connection

i'm using ubuntu v18.4 with apache2 and php7.3.3 installed. I tried to install php-debug in vscode, but i always get this error when start debugging: Cannot evaluate code without a connection here'...
  • 159
1 vote
1 answer
3k views

Can't install xdebug on LAMPP with PHP 7.3.5

I've searched and read a lot of threads, and a lot of webs. Documentation of xdebug also. But I continue developing without xdebug, and I really need it. I followed installation instructions of few ...
2 votes
1 answer
2k views

Cant upgrade Xdebug?

I'm currently running the following PHP/Xdebug setup: PHP 7.2.15-0ubuntu0.18.10.1 (cli) (built: Feb 8 2019 14:54:22) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) ...
  • 145
1 vote
1 answer
2k views

Apache phpinfo missing cURL and XDebug after upgrade

I just upgraded to Ubuntu 18.04.1 LTS and went to check on my local apache2 installation by adding phpinfo() to an index file. After update/reboot, I went to my local WordPress Admin area and ...
  • 145
0 votes
1 answer
1k views

PHP Version 7.1.18-1 on ubuntu16.04.1 xdebug is not working. How to enable it?

I have installed php 7.1 in ubuntu 16.04 trough the following command: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get ...
  • 1,102
1 vote
1 answer
6k views

Enable/disable xdebug through a2enmod and a2dismod?

I don't remember how xdebug was enabled, but I found that in the /etc/php/7.0/mods-available directory xdebug is listed as xdebug.ini. If I go to the directory /etc/php/7.0/apache2/conf.d there is a ...
2 votes
0 answers
265 views

Can't install Xdebug (unmet dependencies: php7.1-dev > libssl-dev > libssl1.0.0)

I'm trying to install Xdebug on Ubuntu Zesty (17.04), but am having trouble resolving dependencies. I'm following instructions from this url: https://xdebug.org/wizard.php Point 4. there says "Run: ...
1 vote
1 answer
3k views

Install Xdebug extension only for PHP7.1 [closed]

I have PHP 7.1 on Ubuntu 16.04 installed. When I'm trying to install Xdebug by using apt-get install php-xdebug, I'm getting xdebug.ini in directories 5.6, 7.0 and 7.1. I don't need /php/5.6/mods-...
  • 111
8 votes
3 answers
14k views

How change the phpize to match the php version?

I have a php version of 7.1.1, and the phpize I installed by following the instructions from https://xdebug.org/wizard.php is like this, Configuring for: PHP Api Version: 20151012 Zend ...
1 vote
1 answer
3k views

Where I can find phpize for php7.1.1?

I currently installed php7.0 version of phpize, and xdebug does not work, wondering if there is a phpize for php7.1.1?
0 votes
0 answers
76 views

Problem XDEBUG + php

I have a problem, I'm using Netbeans 8 to develop a tool with java 7. I installed XDEBUG but when I run the debug it shows me an error with the following message: Unable to open web browser. Not for ...
1 vote
2 answers
4k views

Can`t install xdebug - Depends: phpapi-20121212 - ubuntu 14.04

I am trying to install xdebug on ubuntu 14.04 for a while now. I am working with PHP 5.6.23. When I try: sudo apt-get install php5-xdebug I get the following: Some packages could not be installed. ...
  • 11
3 votes
2 answers
5k views

Install xdebug in Ubuntu 16 with php5 - error: can't read ltmain.sh

I'm trying to install xdebug in Ubuntu 16 with PHP 5 and it fails. The command that I use is: sudo pecl install xdebug I searched a lot on forums but couldn't find the cause for this one. Could ...
2 votes
1 answer
163 views

xdebug stack as links to netbeans

I am trying to make the xdebug stack links to open files directly in netbeans, here is what I have done so far: I created an executable file /home/david/bin/netbeans.sh (which I chmoded +x) ...
  • 378
3 votes
1 answer
7k views

Xdebug with php5.6 not working

Until yesterday I used Ubuntu 14.04 with php5.5 and nginx, everything working perfectly including xdebug. I then updated to php5.6 via sudo add-apt-repository ppa:ondrej/php5-5.69 sudo apt-get ...
  • 190
1 vote
0 answers
3k views

Wating for connection (netbeans-xdebug)

I've visited several howtos and tried all of them - but still I get the dreaded 'Waiting for connection' in Netbeans. Here's a snapshot of my environment: $ php -i phpinfo() PHP Version => 5.6.4-...
  • 91
0 votes
1 answer
876 views

Apache with xDebug loaded but not working?

I've installed the php5-xdebug package through apt-get, I enabled it with php5enmod xdebug and when I run php -v, I get this: PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57) Copyright (c) ...
5 votes
2 answers
14k views

Location to edit xdebug.max_nesting_level in ubuntu 14.04 PHP using Lighttpd

I am getting fatal error maximum function nesting level of '100' reached aborting.. It seems I have to edit xdebug.max_nesting_level from 100 to more. But I am unable to find the correct file ...
  • 151
8 votes
1 answer
19k views

configure xdebug ubuntu 14.04

I can't seem to get Apache 2.4 to load my xdebug configuration. I've added: zend_extension=xdebug.so remote_enable=on to /etc/php5/apache2/conf.d/20-xdebug.ini. According to phpinfo() that file ...
5 votes
1 answer
4k views

Download of "pecl/xdebug" succeeded, but it is not a valid package archive

I tried to install the xdebug in Ubuntu 14.04, but when I execute the following command: sudo pecl install xdebug it returns the error: Download of "pecl/xdebug" succeeded, but it is not a valid ...
  • 51
0 votes
1 answer
4k views

How to config xdebug in ubuntu 12.04

I am trying to enable autostart for xdebug in php5 so it stops on errors when phpstorm debug is on. Problem is I cant find the [XDEBUG] section in /etc/php5/apache2/php.ini . I know that xdebug is on ...
  • 101
2 votes
3 answers
6k views

install xdebug error

I followed these steps to install xdebug on ubuntu Download Latest XDebug Source file Unpack package, run: tar -xvzf xdebug-2.2.3 Run: cd xdebug-2.2.3 Run: phpize Run: sudo apt-get install g++-...
1 vote
1 answer
6k views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
  • 1,079
0 votes
1 answer
563 views

Apache configure file: how to edit it

I need to edit the Apache configure file because I wish to set the debugger port in my VirtualHost section as it says below. How can I do it? I searched in Google but it is not clear for me what I ...
  • 1,079
4 votes
1 answer
3k views

PHP 5.4.* already comes with xdebug installed?

Ubuntu 12.10 fresh install here. So I just installed php with sudo apt-get install php5 + a few other packages like php5-curl. I executed php -v and noticed something pretty bizarre: PHP 5.4.6-...
  • 444