yum install gcc gcc-c++ autoconf automake
yum install php-pear
pecl install xdebug
#edit php.ini
zend_extension=/usr/lib/php/modules/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
php -r "phpinfo();" | grep xdebug
No comments:
Post a Comment