PHP myadmin Cannot start session without errors
PHP myadmin Cannot start session without errors
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
phpMyAdmin – ErrorCannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Locate the directory where sessions are stored in the php.ini file. It will look something like this, although the exact path will vary depending on the distro and any customizations you may have made yourself:
1 | session.save_path = "/var/lib/php5/session" |
Now check the permissions of that directory and make sure that the web server has permissions to access it.
restart your apache server
You may need to either change ownership of the directory, e.g.:
1 | sudo chown user:group /var/lib/php5/session |
and substitute "user" for the actual username and "group" for the actual group, and /var/lib/php/session for the actual session save path.
Alternatively, just change the permissions of the directory so it's world readable and writeable:
1 | sudo chmod 0777 /var/lib/php/session |
sudo /etc/init.d/apache2 restart