centos 5.7
yum install php-devel
wget http://www.xdebug.org/files/xdebug-2.0.3.tgz
tar zxvf xdebug-2.0.3.tgz
cd xdebug-2.0.3
phpize
./configure --enable-xdebug --with-php-config=/usr/bin/php-config
make && make install
[Xdebug]
zend_extension=/usr/lib/php/modules/xdebug.so
xdebug.default_enable=On
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.profiler_enable=On
xdebug.remote_autostart=On
xdebug.remote_enable=On
xdebug.remote_host=192.168.1.*
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
问题:
autoconf 版本非2.61
# wget
http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz# tar -zvxf autoconf-2.61.tar.gz
# cd autoconf-2.61/
# ./configure && make && make install