Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php框架单入口的情况下 不能调试 #30

Open
wwek opened this issue May 15, 2015 · 4 comments
Open

php框架单入口的情况下 不能调试 #30

wwek opened this issue May 15, 2015 · 4 comments
Assignees

Comments

@wwek
Copy link

wwek commented May 15, 2015

这样
php-fpm配置一个进程,找到pid
phptrace -p 14160
然后浏览器访问http://127.0.0.1/wwek.php

能够正常调试

然后这样
当php是使用框架 单入口的情况下
php-fpm配置一个进程,找到pid
phptrace -p 14160

http://127.0.0.1/news/id/55455

使劲的刷页面调试信息还是不出来. 偶尔不知道什么情况下会出来一次`

@wwek
Copy link
Author

wwek commented May 15, 2015

在php单入口框架的情况下

phptrace -p 10264 -s
TRACE ERROR: Can not open /tmp/phptrace.comm.10264 to read, No such file or directory!
STACK ERROR: Can not fetch PHP status from extension, fallback to get stack by ptrace
INVALID PARAM: sapi-globals: <sapi_globals>

@monque monque self-assigned this May 15, 2015
@liukim
Copy link

liukim commented Aug 19, 2016

我也是这个问题,解决了吗?

@2guotou
Copy link

2guotou commented Apr 20, 2017

问题仍然存在;Mac OS X,php 5.5.3,PHP Cli 有效,FPM 无效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@wwek @monque @2guotou @liukim and others