I run php on macbook pro where the mountain lion runs. Mountain Lion comes preloaded with XDebug, so based on the tutorial I found, I took three steps. First I will uncomment this line in my php.ini:
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
Secondly, I uncommented this line in my php.ini:
xdebug.remote_enable=1
And finally, I restarted the Apache server using
sudo apachectl restart
The problem is that I don't see xdebug appearing in my php details when I run phpinfo (). Thanks.
PS: The path to the above xdebug.so file is correct.
source share