zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

Using opcache in command line #233

Open g-adolph opened 6 years ago

g-adolph commented 6 years ago

Is there any way to use opcache in terminal commands, like running php somefile.php or i need to use a http server or php-fpm?

Majkl578 commented 6 years ago
opcache.enable_cli=1

http://php.net/manual/en/opcache.configuration.php