1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Login not persistent with PHP 5.5.7

Discussion in 'Server Configuration and Hosting' started by Floren, Dec 23, 2013.

  1. Floren

    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):
    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.
  2. Floren

    Floren Well-Known Member

    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.png opcache-5min.png
    Last edited: Dec 23, 2013
    Marcus, RoldanLT and SneakyDave like this.
  3. Marcus

    Marcus Well-Known Member

    Do you prefer OPCache to APC for hosting xenforo? APC is only as a difficult build compatible to newest PHP.
  4. Floren

    Floren Well-Known Member

    OPcache is a little faster, I would say 15-20% compared to APC. I prefer OPcache.
    Marcus likes this.

Share This Page