I trying use XDebug (php mode './configure' '--with-apxs2=/usr/sbin/apxs' '--enable-debug=YES').
In documentation of xdebug: "In case you compiled PHP yourself and used --enable-debug you would have to use zend_extension_debug".
But, in output phpinfo() module not loaded (i tried use zend_extension, too).
[xdebug]
zend_extension_debug=/usr/lib/php/extensions/debug-non-zts-20121212/xdebug.so
xdebug.remote_enable = on
xdebug.remote_port = 9001
xdebug.remote_handler="dbgp"
xdebug.remote_host="localhost"
xdebug.remote_mode=req
xdebug.idekey="PHPSTORM"
Maybe XDebug required some modules?
My loaded modules:
[PHP Modules]
Core
ctype
date
dom
ereg
fileinfo
filter
hash
iconv
json
libxml
mcrypt
memorylog
mongo
pcre
PDO
pdo_sqlite
phalcon
Phar
posix
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
And one more thing:
I have 2 php version by single mac.
Before compile XDebug, i use phpize(5.5.15), but "make install" copy extension to different path (/usr/local/lib/php/extension/no-debug-non-zts-20121212/xdebug.so).
But phpinfo() 5.5.15 output different extension dir "/usr/lib/php/extensions/debug-non-zts-20121212".
Now i copied xdebug.so from "/usr/local/lib/php/extension/no-debug-non-zts-20121212/" to "/usr/lib/php/extension/debug-non-zts-20121212/", but is not working.