PHP - remote xdebug using netbeans

1

Introducing the environment: I have a virtual server running a Debian 7.2 (64bit) distribution, on this server I have installed Apache 2.2.22 and PHP 5.4.39

My host machine runs OS X 10.11, as development IDE I'm using Netbeans for PHP.

Explaining the usage scenario: I created an X project that runs on a remote server, that is, the Debian virtual machine just mentioned above. In the project settings, set the Run as Remote Web Site (sftp) option.

Describing the problem: I installed xdebug , I edited the /etc/php5/apache2/php.ini file and I set the following settings at the end of it:

zend_extension="/usr/lib/php5/20100525/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_log="/tmp/xdebug.log"
xdebug.idekey=netbeans-xdebug

However, when I use netbeans debugging I can see that the status bar is - Netbeans-xdebug - and nothing ...

I tried everything but nothing worked. Would anyone know how to help me?

    
asked by anonymous 15.10.2015 / 19:00

1 answer

2

Problem solved.

In the /etc/php5/conf.d path, the 20-xdebug.ini file should be changed to xdebug.ini and restarted from apache.

All right now.

    
16.10.2015 / 21:33