M
M
Michael2017-08-16 20:56:23
PHP
Michael, 2017-08-16 20:56:23

Is it possible to configure opcache to save data after a reboot?

It seems that after restarting php, caching in opcache starts again. Is it possible to configure it so that it keeps the cache even after all reboots?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-08-16
@Sanasol

php.net/manual/en/opcache.configuration.php
has no such config.
Yes, and he should not work like that, he forgets the cache even without rebooting, like any normal cache.
If your site does not work without opcache, then it is not necessary to fix it with a cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question