08 12 / 2011

Installing xdebug with XAMPP on Mac

Follow instructions from http://xdebug.org/find-binary.php to get the correct version of xdebug.

However, compile it with 32bit else you will find yourself trapped with wrong architecture error.

./configure --enable-xdebug --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config
 CFLAGS="-arch i386 $CFLAGS" CCFLAGS="-arch i386 $CCFLAGS"
 CXXFLAGS="-arch i386 $CXXFLAGS" LDFLAGS="-arch i386 $LDFLAGS"

source: http://blog.laaz.org/tech/2010/08/27/xdebug-with-xampp-on-mac-os-x/

Tags:

Permalink 2 notes