SessionHandler::gc(): ps_files_cleanup_dir | Permission denied (13)

user3250372 picture user3250372 · Oct 31, 2017 · Viewed 21.9k times · Source

i have a problem with PHP7 in CentoOS (WHM/CPANEL) and Prestashop 1.7

the system gives me this messagges:

Notice on line 429 in file /home/onywf3fr9a/public_html/app/cache/dev/classes.php

[8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php70) failed: Permission denied (13)

Answer

Sarath E picture Sarath E · Feb 12, 2018

I have the same issue, I changed the session.save_pathphp.ini to "/tmp" in my php.ini