在phpstudy开启XDbug
设置php.ini, 在最后加上
有的我已经有了的,把dll文件目录改改
[XDebug]
xdebug.profiler_output_dir=“D:\phpStudy\PHPTutorial\tmp\xdebug”
xdebug.trace_output_dir=“D:\phpStudy\PHPTutorial\tmp\xdebug”
zend_extension=“D:\phpStudy\PHPTutorial\php\php-5.4.45\ext\php_xdebug.dll”
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.profiler_enable=On
xdebug.remote_enable=On
xdebug.idekey=PHPSTORM
然后重启apache, 看看phpinfo()有没有成功开启,懒得截图了,再去设置phpstorm