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.

session save path suddenly changed for all to a users tmp folder

Discussion in 'General Discussion' started by jeroman8, Jun 15, 2008.

  1. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    Today sessions was forbidden to be written and crashed a few sites.
    The strange thing is that sessions was trying to be saved under a users /tmp folder and not the server /tmp folder.

    So one users sessions tried to be saved under another users tmp folder ??
    This is NOT a client/user thing, where he set the session save path in his script or htaccess etc. It's PHP doing this.

    In php.ini it say:

    session.save_path = "N;/path"

    Never seen this before actually - used to be /tmp (servers tmp).

    Somehow, suddenly - PHP decided that "N;/path" is one users /tmp folder.

    How can that be ?


    I now changed it to /tmp on all servers since "N;/path" seems to buggy and dangerous.
     
Loading...

Share This Page