PHP-xdebug+PHPStorm的debug安装(未完) - QinXiao.Shou - 博客园

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安装


Original url: Access
Created at: 2020-02-07 02:34:06
Category: default
Tags: none

请先后发表评论
  • 最新评论
  • 总共0条评论