I am getting below errors?
Warning: Unknown(): open(/tmp/sess_f84ab7cd5267a17ddefd43284f7a4e88, O_RDWR) failed: Permission denied (13) in Unknown on line 0
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
I know it is a permission error but when I changed my index.php from 644 to 777 I am getting 500 internal server error. When I 644 to 755 I am getting the same error.
What can be the problem?