When i install symfony, it recommeneded me:
Install and/or enable a PHP accelerator (highly recommended).
I installed apcu according to http://www.ivangabriele.com/php-how-to-install-php-accelerator-in-xampp/
APCu installed successfully and phpinfo() show it enabled but symfony still get me this message:
Install and/or enable a PHP accelerator (highly recommended).
Thanks for that info @ceejayoz. I wonder if you have a link that describes why an accelerator in PHP 7.0 is unnecessary, I would appreciate that.
Otherwise Jinx, you can try 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. Also it may not be 'php70u'. But when you run php bin/symfony_requirements
, you won't get the message about the accelerator.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.