Login not persistent with PHP 5.5.7

Floren

Well-known member
Hi all,

I recently upgraded my server to PHP 5.5.7 with OPcache enabled.
I noticed this weird behavior: After a certain period of time, I'm logged out.
I use the settings recommended by PHP in opcache.ini (except consumption and buffers):
Code:
opcache.memory_consumption=256
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

I did not performed any time checks, but I think is related to OPcache. I did not changed anything else on the server except PHP. Thank you for letting me know if you had the same issues and what fix you applied.
 
Still logged in, after 3 hours... I think it was some random weird error. I've reset the OPcache and no more problems. Here are some stats for the cache right after I restarted php-fpm, then 5 minutes later (the cache works):

opcache.webp opcache-5min.webp
 
Last edited:
Do you prefer OPCache to APC for hosting xenforo? APC is only as a difficult build compatible to newest PHP.
 
Top Bottom