ubuntu 安装xdebug

it2022-05-09  25

参考原文:http://www.linuxidc.com/Linux/2012-08/69079.htm

 

安装

 sudo apt-get install php5-xdebug

sudo pecl install xdebug

PECL 的全称是 The PHP Extension Community Library ,是一个开放的并通过 PEAR(PHP Extension and Application Repository,PHP 扩展和应用仓库)打包格式来打包安装的 PHP 扩展库仓库

配置

/etc/php5/conf.d/xdebug.ini

zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so (安装完后就有的)xdebug.remote_enable=1xdebug.remote_handler=dbgpxdebug.remote_host=127.0.0.1xdebug.remote_port=9010

 

转载于:https://www.cnblogs.com/bandbandme/p/3998241.html


最新回复(0)