Parijat Kalia
Parijat Kalia

Reputation: 5095

Unable to change XDEBUG configuration [xdebug.remote_enable]

I have an OS-X setup and using Netbeans IDE for my PHP programming. I have xdebug installed in the following path of

zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"

Under which I have xdebug.remote_enable set to On..such as xdebug.remote_enable = on

This is the desired Netbeans Xdebug configuration recommendation .

And upon viewing my phpinfo:

I get

xdebug.remote_enable = off

Not sure where it is picking up this information from, and any other xdebug parameter configurations do not alter themselves either.

This is getting me confused as to what is going wrong.

The php version that is running is 5.3.6.

Upvotes: 2

Views: 3766

Answers (1)

Akshay Agarwal
Akshay Agarwal

Reputation: 2039

I had the same problem and later found that I was editing the wrong php.ini file. You should edit the file located under /Applications/MAMP/bin/php/php5.3.6/conf/php.ini and write xdebug.remote_enable = 1

Upvotes: 3

Related Questions