PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission

Hello,

I’m receiving the following error:PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in

I’ve changed /var/lib/session permissions to 755 but this is not works.
What is the solution please?

thank you

Zoltan

1 Like

I am still having the same problem as you. Have you found a solution?

try

chmod -R 1773 /var/lib/php/sessions

chmod -R 1773 /var/lib/lsphpphp/sessions