php - How to install xdebug in ubuntu 16.04 in netbeans? -


whenever try run code

example@testserver:~$ sudo apt-get install php5-xdebug reading package lists... done building dependency tree        reading state information... done e: unable locate package php5-xdebug 

i error "e: unable locate package php5-xdebug" please thanks

if you're running default apt installation of php on ubuntu 16.04, should php7. if had guess php5-xdebug, i'd using command intended ubuntu 14.04 or older default php installation php5. can verify php version with:

php --version 

this see:

php 7.0.8-0ubuntu0.16.04.2 (cli) ( nts ) copyright (c) 1997-2016 php group zend engine v3.0.0, copyright (c) 1998-2016 zend technologies     zend opcache v7.0.8-0ubuntu0.16.04.2, copyright (c) 1999-2016, zend technologies     xdebug v2.4.0, copyright (c) 2002-2016, derick rethans 

at rate, should able search available packages configuration with:

apt-cache search xdebug 

from relatively fresh ubuntu 16.04 install without added ppa's, 1 result:

php-xdebug - xdebug module php

so can install package name (note missing "5" command):

sudo apt install php-xdebug 

you might have restart webserver. if you're running stock build of apache ubuntu 16.04:

sudo service apache2 restart 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -