I just got a Mac with OS X (10.6.8). What options do I have to do serious PHP developement, including a debugger?
I don’t ask about what IDE to use. I’m not sure what is the best way to get PHP including XDebug (or any other professional debugger) working. I heard that the Mac comes with Apache and PHP preinstalled. Where can I find any documentation about this. Should I just add MySql and work with this? Or should I go for MAMP or XAMPP. What would be the benefit of this installs over the built in?
I found a lot of descriptions about how to compile XDebug from scratch. Non of them worked for me. Isn’t there an easier way of getting a debugger working for OS X?
I’m also ready to upgrade the Mac to the latest OS X, if this is of any help.
After a lot more googling and try and error I found a very nice and easy to install solution which works great for me:
php.iniat/Applications/MAMP/bin/php/php5.3.6/conf/php.iniand uncommented the only line containing thexdebug.sofile.Added this lines at the end of php.ini
After restarting apache MacGDBp stoped at the first PHP line.