dream04110 2014-07-10 16:00
浏览 32
已采纳

为什么Symfony说它没有安装APC?

I installed Symfony with composer and when I did environment check it told me to install APC and to turn off short open tags in php.ini. But after I've done all this steps and restarted apache2 I run tests again and imagine my confusion when symfony gave me the same warnings again.

I'm 100% sure I installed APC, since I can see it is enabled in phpinfo and I can see it's status on apc.php page. In order to disable short open tags I edited php.ini which I found in /etc/php5/apache2/. And again phpinfo says that short open tags are indeed disabled but why check.php still gives me warnings about it?

BTW Symfony also told me to instal intl extension and it noticed that I installed intl, but failed to notice APC and short open tags. What can be the reason? Should I ignore these warnings or what??

  • 写回答

1条回答 默认 最新

  • dongtaijue1578 2014-07-10 16:09
    关注

    Well, apache2 and cli uses two different php interpreter, and each one has its own php.ini file. So, .. maybe there are two different configurations. What do you mean with "symfony told me". Are you in console mode or in your web browser?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度