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!

SOLVED PHP session path errors

Discussion in 'General Discussion' started by Julien Knoell, May 6, 2019.

  1. Julien Knoell

    Julien Knoell Member

    Joined:
    May 5, 2019
    Messages:
    6
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    It has stopped individual sites from being able to write sessions.

    Next Error: Failed to create session ID: files (path: /var/cpanel/php/sessions/ea-php72) in /home/network/public_html/manager/vendor/whmcs/whmcs-foundation/lib/Session.php:0<br />

    I've changed the default via MultiPHP manager to set it to /tmp but it's not working.
    I tried this: "
    /scripts/clear_orphaned_virtfs_mounts --clearall ; /scripts/update_users_jail ; /scripts/restartsrv_httpd"
    What do I need to do to get PHP to recognise the new default save_path directories?
     
  2. httpdocs

    httpdocs Member

    Joined:
    Mar 9, 2018
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    78
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,299
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Julien Knoell,

    Can you open a support ticket so we can take a closer look at the affected system? You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Julien Knoell

    Julien Knoell Member

    Joined:
    May 5, 2019
    Messages:
    6
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    It's not working for me.

    Hello, thanks for reply.
    Support Request ID is: 12224995
     
    cPanelMichael likes this.
  5. Julien Knoell

    Julien Knoell Member

    Joined:
    May 5, 2019
    Messages:
    6
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    Fixed.
    I had to do "php -q" instead of "/opt/cpanel/ea-php72/root/usr/bin/php -q"
     
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,299
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Julien Knoell likes this.
  7. Julien Knoell

    Julien Knoell Member

    Joined:
    May 5, 2019
    Messages:
    6
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    cPanelMichael likes this.
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