I went to the xdebug site, but I can't find a mac download. http://www.xdebug.org/download.php
Did I miss something? NetBeans tells me to get xdebug for setting up an PHP development environment on the mac.
I went to the xdebug site, but I can't find a mac download. http://www.xdebug.org/download.php
Did I miss something? NetBeans tells me to get xdebug for setting up an PHP development environment on the mac.
You will need to compile it from source. Or alternatively, maybe this tutorial on getting xdebug working on mac os x with macports will help.
You can use DarwinPorts. Check out instructions for installing PHP5 XDebug on OSX.
If you have pecl, this would be a good way.
# pecl install xdebug
If you don't have pecl, you may want to ckeck it out.
You can just use the PECL download option, but you'll need to add a sudo
sudo pecl install xdebug
Then set the path to xdebug in your php.ini file. If everything is still at the default I'd imagine you'd need:
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
However, you can check your extensions directory via:
pecl config-get ext_dir
(You will need to restart Apache after this install, either via the command line or by turning web sharing off and on again in System Preferences.)
HTH