I'm getting this:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
So I'm following this tutorial.
But I have no idea what to put in "username".
This is how it looks when I launch the terminal:
alex@alex-System-Product-Name:~$My user is "alex", eg:
/home/alexAny suggestions?
2 Answers
The chown command has the following syntax:
chown username:groupname directorySo in your example command it is your primary group name you need to put To determine your current user name issue the command as below on a terminal
whoamiThis will return your current user name. Then issue this command to determine your group memberships
groups usernameAssuming that your username is "alex", run:
groups alexYou will get something like:
alex : alex staff adm cdrom lpadmin adminThe first one after the : is your primary group. In this example it is "alex".
The command will be:
sudo chown -R root:alex /var/lib/php/session 4 That would be:
sudo chown -R root:alex /var/lib/php/session