码迷,mamicode.com
首页 > 系统相关 > 详细

mac 10.10.4 下安装xdebug不了的解决办法

时间:2015-07-29 22:58:38      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:

mac 是10.10.4版本,安装了xampp的XAMPP for OS X 5.6.8,按照常规方法找到php版本,然后使用homebrew直接安装,再修改php.ini再重启apache怎么也不能成功(不能从phpinfo页面看到xdebug信息),最后从https://community.apachefriends.org/f/viewtopic.php?t=70686&p=242247 找到答案,说这个版本的xampp已经自带了xdebug,在/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/ 目录下面,只需要在php.ini里加上以下的配置再重启apache就可以了,试过以后确实可以。

zend_extension="/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so"
xdebug.remote_enable=On
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.collect_params=1
xdebug.collect_var=1
xdebug.collect_return=1

 

mac 10.10.4 下安装xdebug不了的解决办法

标签:

原文地址:http://www.cnblogs.com/youthdream/p/4687574.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!