Hello,
WebFox wrote:I used for several years now the Windows version of Xampp and now we work on Mac's and needed to get our development environment running on Mac OSX...
1. Netbeans works fine BUT CANNOT FIND PHP Interpreter!.
Question: Which path we have to place for the PHP5 interpreter?
/Applications/xampp/xamppfiles/bin/php
WebFox wrote:2. The Windows version has automatically Zend and Xdebug avilable..
The Mac version has no debugger at all, a big minus for any developer!
Question: How to install xdebug under Xampp for Mac OSX? Without that we will have to stop using Xampp and to find another solution for our development team. Would be pity.
Compiling an extension may be diffcult. And there are some bugs in 0.7.4 which makes this even harder
If your using XAMPP for Mac OS X 0.7.4 and are running on Mac OS X Leopard 10.5, I've compiled xdebug for you and you can download it
here.
I assume the xdebug.so file is now in your Downloads/ Folder:
Open an Terminal (You can find it in the Utilities) and type:
- Code: Select all
cd Downloads
sudo cp xdebug.so /Applications/xampp/xamppfiles/lib/php/php5/extensions/no-debug-non-zts-20060613/
The last line asks you for your password. While you type it in it will
not show what you type.
Now simply add
- Code: Select all
zend_extension="/Applications/xampp/xamppfiles/lib/php/php5/extensions/no-debug-non-zts-20060613/xdebug.so"
to your php.ini and xdebug should work.
Greets,
kleinweby