PHP-xdebug+PHPStorm的debug安装(未完)

 

PHP的xdebug安装

 

一.首先去phpinfo()查看自己的php是32还是64位的,再根据php版本在下面的网站https://xdebug.org/download.php选择xdebug插件下载:下载线程安全的xdebug例如:我的php是5.4版本,x86位的

 

php_xdebug-2.4.0-5.4-vc9.dll

 二.然后把该文件放在:

三.配置php.ini文件,在里面添加以下代码:

还要打开

添加代码:

zend_extension="G:\amptwo\php\ext\php_xdebug-2.5.4-7.1-vc14-x86_64.dll"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="G:\debug"
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_host="localhost"

 

然后重启Apache

 在去phpInfo查看是否有

 

 没有的话,按照上面的方法换多几个版本

 

PHPStorm的debug安装

 

posted @ 2017-11-02 13:01  QinXiao.Shou  阅读(443)  评论(0编辑  收藏  举报