首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >php在max sierra上不起作用

问php在max sierra上不起作用
EN

Stack Overflow用户
提问于 2016-10-15 04:31:23
回答 1查看 891关注 0票数 0

在麦克塞拉:

我已经安装了php 7.1,并通过以下方式安装了xdebug:

brew安装php71 71-x调试

Xcode是8.0

php v3.1.0-dev,版权(c) 1988-2016年,版权所有,版权( -v组Zend v3.1.0-dev,版权(c) 1988-2016年,版权(c) 2002-2016

使用phpinfo(),我找不到任何写着xdebug的文本

我尝试了几个变体的php.ini文件:并重新启动了apache

代码语言:javascript
复制
[xdebug]
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1    # Not safe for production servers
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true

更多细节可以在这里找到:https://bugs.xdebug.org/view.php?id=1354

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-10-30 08:54:04

PHP7.1是当前不受xdebug支持的,(php版本<7.1)。您应该使用7.0,并且不要忘记打开xdebog.remote_enable

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40054968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档