Re: opcache.file_cache_only = 1 disables Opcode Caching
| From: | Xinchen Hui | Date: | Tue, 29 Dec 2015 07:52:16 +0000 |
| Subject: | Re: opcache.file_cache_only = 1 disables Opcode Caching | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89918@lists.php.net to get a copy of this message | ||
Hey:
On Tue, Dec 29, 2015 at 3:31 PM, Tom Sommer <mail@tomsommer.dk> wrote:
> Awesome feature with opcache.file_cache_only, really exciting :)
>
> A couple of things:
>
> 1) It's not documented in the manual
>
yes, it's an experimental feature now
>
> 2) When you set opcache.file_cache_only = 1, the "Opcode Caching"
> information in phpinfo() disappears.
> "Opcode Caching" and "Optimization" is shown as "Disabled". Is
> this
> intended?
>
fixed in :
https://github.com/php/php-src/commit/3f07a256f75a55eaf7e7bfed681f8dfb4b901e55
now it will print:
Zend OPcache
Opcode Caching => Up and Running
Optimization => Enabled
SHM Cache => Disabled
File Cache => Enabled
Startup => OK
thanks
> Thanks :)
>
> // Tom
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Xinchen Hui
@Laruence
http://www.laruence.com/