Configuring Snow Leopard as a SLAMP box (Snow Leopard Apache MySQL PHP)

#install xdebug

http://aspn.activestate.com/ASPN/Downloads/Komodo/RemoteDebugging

Enter the “5.3” directory and find the file named “xdebug.so”. You need to move this file to the/usr/lib/php/extensions/no-debug-non-zts-20090626 directory. First, open a new Finder window and press Cmd + Shift + G. Enter /usr/lib/php/extensions/no-debug-non-zts-20090626/ into the prompt that appears and press “Go”. This will open the destination directory in the Finder window. Drag xdebug.so into the destination directory. You may be prompted for your administrator password. If the /usr/lib/php/extensions/no-debug-non-zts-20090626/ directory does not exist, locate the /usr/lib/php/extensions/ directory instead. This directory will contain a directory named something similar to no-debug-non-zts-20090626. Place xdebug.so into that directory instead.
edit php.ini:
1.[xdebug]
2.zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so

Leave a Reply

Your email address will not be published. Required fields are marked *