I want to use xDebug.
I added the following to the php.ini file that's located in:
/Applications/XAMPP/xamppfiles/etc/php.ini
- Code: Select all
[xdebug]
zend_extension=”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so”
xdebug.remote_enable=1
When I look at the output from phpinfo() there's no xdebug listed.
The folder listed above for the does exist and it does contain xdebug.so.
The error that I get in the error_log is this:
- Code: Select all
Failed loading /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so”: dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so”, 9): image not found
I've tried changing the entry in the php.ini to point to /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/ which I created by duplicating the /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626 folder.
My guess is that the xdebug.so was compiled for a different version of PHP, is that possible?
Any suggestions, thanks in advance?