brew install php70
感谢您选择使用ERMEB域名授权离线网络验证系统(简称:ERMEB域名授权系统)是ERMEB团队开发,ERMEB域名授权系统是国内最稳定,最强大,最先进的域名授权管理平台解决方案之一,ERMEB域名授权系统采用PHP +Mysql的技术,ERMEB域名授权系统框架使用Thinkphp6/mysql数据库基于Markdown开发者文档开发而成,项目安装请参考ThinkPHP官方文档及下面的服务环境说
0
brew install php70-xdebug
php -i | grep xdebug.ini找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
vim /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
配置如下: [xdebug] zend_extension="/usr/local/opt/php70-xdebug/xdebug.so" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 9001 #这个端口不要被占用即可,可以自行指定 xdebug.idekey = PHPSTORM xdebug.remote_autostart=1 xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
立即学习“PHP免费学习笔记(深入)”;





我的调试地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550
愉快的调试吧,哈哈
brew install php70
brew install php70-xdebug
php -i | grep xdebug.ini找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
vim /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
配置如下: [xdebug] zend_extension="/usr/local/opt/php70-xdebug/xdebug.so" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 9001 #这个端口不要被占用即可,可以自行指定 xdebug.idekey = PHPSTORM xdebug.remote_autostart=1 xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
立即学习“PHP免费学习笔记(深入)”;





我的调试地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550
愉快的调试吧,哈哈
以上就是Mac下安装PHP Xdebug的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号