Jump to content


session.save_path () is not writable

  • Please log in to reply
3 replies to this topic

#1 JacobD



  • Members
  • PipPip
  • 14 posts

Posted 08 March 2019 - 11:07 AM



I am trying to create a new installation of x2 and when checking requirements.php, I get the following error:


  • The path defined in session.save_path () is not writable.


I know that this is an issue which has been covered before on the forums but I cannot get it to work despite the other solutions.


My system is FreeBSD 11.2 running nginx and php71-fpm. The nginx user is www, php user is www and group www.


Here is the snippet from my php.ini:


Output of ls -l for /usr/local/tmp:

drwxrwxrwt  2 nobody nogroup  2 Mar 8 10:48 tmp

I have tried chmod 1777 and chown www:www as well without any luck


The error is legitimate because I cannot open the login screen either after changing requirements.php and installing.


Thanks for the help.

#2 JacobD



  • Members
  • PipPip
  • 14 posts

Posted 12 March 2019 - 08:04 AM

After playing around, I discovered a few things.


I ran this script: 

<?php print(sys_get_temp_dir()); ?>

which output: 


So, I commented out

$ssp = ini_get('session.save_path');

And instead put in:

$ssp = '/tmp/';

Now according to requirements.php I am all set. Except, when I try to open the login page for my site, it does not load. Error 500

#3 JacobD



  • Members
  • PipPip
  • 14 posts

Posted 13 March 2019 - 01:29 PM

@X2Peter anything on this?

#4 bennieByday



  • Members
  • Pip
  • 7 posts
  • LocationDenmark

Posted 23 April 2019 - 05:23 PM

For information, as it is seems that it is not clear explained the directory structure of CamBam: On Linux or better in my Linux installation the System forlder is in my home directory so in Linux is Code:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users