SessionHandler::gc(): ps_files_cleanup_dir |权限被拒绝 (13)

2022-01-13 00:00:00 centos php prestashop-1.7 prestashop

我在 CentoOS (WHM/CPANEL) 和 Prestashop 1.7 中遇到 PHP7 问题

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

系统给我这个消息:

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) 失败:权限被拒绝 (13)

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

推荐答案

我也有同样的问题,我改了session.save_path 到 "/tmp" 在我的 php.ini 中

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

相关文章