Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Custom PHP Session Handler

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

Tags:
  1. matt1206

    matt1206 Active Member

    Joined:
    Dec 20, 2011
    Messages:
    25
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    matt1206 likes this.
  3. matt1206

    matt1206 Active Member

    Joined:
    Dec 20, 2011
    Messages:
    25
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice