This is most likely a permission / access issue for the session save path for php. This happened to me when I changed User and Group in httpd.conf (apache) to a different username. Php session files must have their group id at the same time. For Fedora, change the group as shown below (replacing the apache httpd group name):
sudo chgrp NEWUSER /var/lib/php/*
Reboot httpd after making the changes.
If this change does not work for your configuration, check your apache error logs (/ var / log / httpd / error_log) for more information - they will provide you with the session.save_path address that you will need. For instance:
Unknown: Failed to write session data (files). Make sure the current session.save_path settings are correct (/ var / lib / php / session)
source share