dream04110 2014-07-10 08: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 08: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?

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

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部