[英]how Symfony2 cache my file app_dev.php
There is no phpinfo();
没有
phpinfo();
in my app_dev.php, view in the web is OK (no phpinfo) and I type phpinfo();
在我的app_dev.php中,可以在网络上查看(没有phpinfo),然后键入
phpinfo();
in app_dev.php, view the web, but it's still no phpinfo, and no effect, and i still refresh the web, about few minutes (maybe many times refreshing), it works, (yes phpinfo is showing in the web) 在app_dev.php中,查看网络,但是它仍然没有phpinfo,也没有任何效果,并且我仍然刷新网络,大约几分钟(也许是多次刷新),它可以工作,(是phpinfo在网络中显示)
This is my code: 这是我的代码:
phpinfo();
$loader = require __DIR__.'/../app/autoload.php';
Debug::enable();
$kernel = new AppKernel('dev', true);
//$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Why? 为什么? I'm confused.
我糊涂了。 Anyone can help me?
有人可以帮助我吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.