drivers/Session_files_driver.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: drivers/Session_files_driver.php (/showthread.php?tid=70944) |
drivers/Session_files_driver.php - ofir - 06-19-2018 Severity: Warning Message: unlink(/tmp/ci_session3195883705fdcc11bcc62d0ebc38fa450f2e025a): Operation not permitted Filename: drivers/Session_files_driver.php Function: __construct Function: require_once Can i get explain what the problem and how to fix it ? RE: drivers/Session_files_driver.php - Pertti - 06-20-2018 Your server OS stops Apache/PHP deleting session files from /tmp folder. I would suggest first creating folder for sessions inside your project, ideally outside public_html folder. Then, assuming you are using Linux, you need to make OS user that runs the Apache process owner of that folder. Depending on setup, this would usually be called simply apache. Then make sure owner (apache) has write privilege for that folder. The actual steps vary depending on your actual OS and Apache configuration, but this should point you to right direction. |