Tuesday, May 25, 2010

PHP XDebug set up on MacOS

We are going to use the pre-compiled binaries by Komodo. Copy the xdebug.so matching the installed php version to /usr/lib/php/extensions/no-debug-non-zts-200xxxxx directory.

The following lines should be appended to the /etc/php.ini :


[xdebug]
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-200xxxxx/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_aggregate = Off
xdebug.profiler_append = Off
xdebug.profiler_enable = Off
xdebug.profiler_enable_trigger = Off

No comments:

Post a Comment