PHP: Unknown: Failed to write session data (files)

software development

#1

Hi!,
I’m having the following warning in one of my php scripts:

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Already set a phprc file to change my session.save_path variable to

/home/username/website/tmp

Permissions on tmp dir are 777, however, keep getting the error…

also tried doing something like this:

session_save_path(“/tmp”); 
session_start();

didn’t work :-/

any hints on this?

best regards,