[英]PHP accelerator installed but symfony 3 not recognized it
When i install symfony, it recommeneded me: 当我安装symfony时,推荐给我:
Install and/or enable a PHP accelerator (highly recommended). 安装和/或启用PHP加速器(强烈建议)。
I installed apcu according to http://www.ivangabriele.com/php-how-to-install-php-accelerator-in-xampp/ 我根据http://www.ivangabriele.com/php-how-to-install-php-accelerator-in-xampp/安装了apcu
APCu installed successfully and phpinfo() show it enabled but symfony still get me this message: APCu已成功安装,并且phpinfo()显示已启用,但symfony仍然收到此消息:
Install and/or enable a PHP accelerator (highly recommended). 安装和/或启用PHP加速器(强烈建议)。
Thanks for that info @ceejayoz. 感谢您提供该信息@ceejayoz。 I wonder if you have a link that describes why an accelerator in PHP 7.0 is unnecessary, I would appreciate that.
我想知道您是否有一个链接描述为什么在PHP 7.0中不需要加速器,对此我将不胜感激。
Otherwise Jinx, you can try php70u-opcache. 否则,您可以尝试php70u-opcache。 That's what I used:
那就是我用的:
yum install php70u-opcache
This is on CentOS, you may have a different Linux distro, so the commands may be different. 这是在CentOS上,您可能具有不同的Linux发行版,因此命令可能不同。 Also it may not be 'php70u'.
也可能不是'php70u'。 But when you run
php bin/symfony_requirements
, you won't get the message about the accelerator. 但是,当您运行
php bin/symfony_requirements
,将不会收到有关加速器的消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.