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

yaf在php web server环境下运行时,Controller::getResponse() 返回内容问题 #397

Open
reatang opened this issue Apr 5, 2018 · 1 comment

Comments

@reatang
Copy link

reatang commented Apr 5, 2018

php: 7.1.14
版本:yaf-3.0.4
操作系统环境:OS X EI Capitan 10.11.6
问题描述:
php -S 127.0.0.1:8000 php_sapi_name() == 'cli-server' 的环境下,控制器的getResponse()方法返回的是 Yaf\Response\Cli 对象 而不是预期的 Yaf\Response\Http 对象。

@letwang
Copy link

letwang commented Jun 12, 2019

我也遇到这个问题 请使用PHP原生暂时规避

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

2 participants