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.

PHP Session Errors

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

Tags:
  1. Mothership

    Mothership Registered

    Joined:
    Apr 9, 2012
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    We're seeing this as well with various customer sites since upgrading to 64.11 (now on 12 - issue still exists). PHP can't write to the new tmp directory php-error.png

    For example:
     
  2. Mark Shaw

    Mark Shaw Member

    Joined:
    Apr 13, 2017
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    PEI Canada
    cPanel Access Level:
    DataCenter Provider
    This is not the same error, however I will be able to help you with it. Please open a forum post for it and I will be able to help you there.
     
  3. Mothership

    Mothership Registered

    Joined:
    Apr 9, 2012
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    Yes; I accidentally contributed to the wrong thread!

    I've fixed our issue by adding the following to /etc/cagefs/cagefs.mp

    /var/cpanel/php/sessions

    and reloading cagefs with:

    cagefsctl --remount-all

    Running the following cleared it on subsequent servers:

    /scripts/clear_orphaned_virtfs_mounts --clearall ; /scripts/update_users_jail ; /scripts/restartsrv_httpd
     
    Mark Shaw likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Ensure you are updated to the most recent CageFS version, as this issue should have been addressed already:

    CageFS updated

    Thank you.
     
Loading...

Share This Page