https://serverfault.com/questions/558641/aws-ec2-php-session-start-with-permission-denied
This is because the “Local value” overwrite “Master value” and point to a folder that users don’t have permission to write session related files.
- Change session.save_path value or uncomment the line in php.ini
1sudo nano /etc/php.ini - Find and edit the config file
/etc/httpd/conf.d/php.conf - Restart apache
1sudo service httpd restart