Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to move session directory from /var/php_sessions/

Started by Muut Archive 9 years ago · 1 replies · 419 views
9 years ago

I'm using a hosting provider that doesn't allow me to write into this directory, what do I need to modify to point this to a directory I can write to?

9 years ago

They don't let you use PHP sessions? That's all Grav is doing here, it's not asking for a specific directory, it's just asking PHP to create a session, and the PHP configuration dictates what folder that is going to use.

If that is causing an error, then your hosting provider needs to fix the PHP configuration and point it somewhere sessions can be created.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1323 9 years ago
Archive · by Muut Archive, 9 years ago
2 920 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2924 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago