Recent content by KlaasV

  1. K

    default session path not working

    Great, that did the trick chown apache:psacln /var/lib/php/session chmod -R 770 /var/lib/php/session chcon -R system_u:object_r:httpd_sys_content_t:s0 /var/lib/php/session Thanks a lot!
  2. K

    default session path not working

    Thanks. Also this doesn't do the trick. The strange thing is that the session-files are created, but I think reading is not allowed. See screenshot for current permissions. The first one, 'session', is the one which is not working. The second one, 'php_sess', is working.
  3. K

    default session path not working

    The directory was owned by root. I've changed to apache:apache, but still not working. THe only difference I have with the working directory is the following: working directory: drwxr-xr-x /var/lib/php/session: drwxr-xr-t Why is the last a 't' instead of 'x'? I've done chmod 755 and 777, but...
  4. K

    default session path not working

    Thanks fr your quick reply, but it's not working. I still got: Warning: session_start(): open(/var/lib/php/session/sess_h2960g4dps62u6i7ee92htl5a4, O_RDWR) failed: Permission denied (13) Strange thing: the file is created in the directory
  5. K

    default session path not working

    The default session-path is not working, as we get the error 'Permission denied' (although sessions are added to the directory). I can make a custom directory per domain to save sessions, but how can I make the default session-path (/var/lib/php/session) accesible for every domain/user...
Back
Top