PHP - sessions getting lost

Discussion in 'PHP' started by CPF_, Apr 13, 2008.

  1. CPF_

    CPF_ New Member

    Hi, after the MySQL problem, which I could fix, I have recompiled php to make a better availability to the server.
    At this moment, everything is working perfectly, except sessions.
    For some weird reason sessions are not stored.
    php.ini shows:
    session.save_path = "/var/lib/php/session"
    I checked that, made user:group and permissions correct, I even gracefully restarted the server.
    Logs tell me near nothing (except about 90k of rewrite logs)

    I see nothing about php getting some errors. Nowhere...

    Anyone has got a hands up for this one?

    Thanks in advance.
  2. CPF_

    CPF_ New Member

    --> It is fixed, apparently php doesn't run with the same user:group as apache.
    Changing the permissions to 777 for a while showed that.

Share This Page