Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Changing session_save_path does not work #38

Open
sandermb opened this issue Apr 29, 2015 · 1 comment
Open

Changing session_save_path does not work #38

sandermb opened this issue Apr 29, 2015 · 1 comment

Comments

@sandermb
Copy link

When changing the session save path to a directory within my project with the PHP function session_save_path() it does not work.
It does change the directory and creates the session file within the given directory, but the session file remains empty.
When I use the default session save path there is no problem.

@yadakhov
Copy link

The webserver can't simply write to any folders without first given permission.

To make a folder writable by the webserver have to run a chmod command

chmod o+w -R your_save_path_folder

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants