The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom PHP Session Handler

Discussion in 'General Discussion' started by matt1206, Apr 13, 2017.

Tags:
  1. matt1206

    matt1206 Member

    Joined:
    Dec 20, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Would be nice if this also checked to make sure session.save_handler wasn't set to something other than files first. I have my sessions in memcached, and this just caused a large outage on multiple wordpress sites.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @matt1206,

    I moved this post to it's own thread so we can address this concern separately.

    I've opened internal case CPANEL-12637 to report this issue. I'll monitor the status of this case and update this thread with more information as it becomes available.

    Thank you.
     
    matt1206 likes this.
  3. matt1206

    matt1206 Member

    Joined:
    Dec 20, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Thanks @cPanelMichael

    EDIT: To provide a bit more background.

    I have session.save_handler = memcached
    and session.save_path = "tcp:127.0.0.1:11211" in the php.ini files.

    During the upgrade to 64, it changed the session.save_path to the new location, while leaving memcached as the session handler.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, this was fixed in cPanel version 64.0.19:

    Fixed case CPANEL-12637: Leave session.save_path if session.save_handler is not files.

    Thank you.
     
Loading...

Share This Page