Questions tagged [xdebug]

30 questions
8
votes
3 answers

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 Module Api No: 20151012 Zend Extension Api No: …
8
votes
1 answer

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 does get parsed, but remote_enable is still off. I…
5
votes
2 answers

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 in where I should edit this? I am using Ubuntu 14.04…
oxvoxic
  • 151
5
votes
1 answer

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 package archive Someone had the same problem or…
CFilho
  • 51
  • 1
  • 3
4
votes
1 answer

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-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34)…
marcio
  • 454
3
votes
2 answers

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 anyone help me with this? The following is the…
3
votes
1 answer

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 update && sudo apt-get upgrade sudo apt-get install…
SBH
  • 190
2
votes
0 answers

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: phpize (See the FAQ if you don't have phpize." When…
2
votes
1 answer

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)…
OSdave
  • 378
2
votes
3 answers

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++-multilib Run: CFLAGS=-m32 CPPFLAGS=-m32…
2
votes
1 answer

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 that it tells - "Make sure that - zend_extension =…
Alex
  • 477
2
votes
0 answers

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's my…
blue
  • 157
  • 1
  • 4
2
votes
1 answer

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) 1998-2018 Zend Technologies with Zend…
sleeper
  • 145
1
vote
1 answer

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 symlink there to the xdebug.ini file, and that…
Brian Gottier
  • 113
  • 1
  • 6
1
vote
1 answer

Install Xdebug extension only for PHP7.1

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-available/xdebug.ini and…
Viktor
  • 111
1
2