Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Problem with the installation

Started by Muut Archive 11 years ago · 4 replies · 322 views
11 years ago

You have to change the permissions of the files you downloaded. Go to the root directory of your grav instalation in the console (the directory where the grav index.php is.

BASH
sudo chown -R username:www-data .
sudo find . -type f | xargs chmod 664
sudo find . -type d | xargs chmod 775
sudo find . -type d | xargs chmod +s
umask 0002

where username is your username and www-data is the group the server belongs to (in debian/ubuntu systems with apache2 its www-data).

then go into

BASH
cd bin
find . -type f | xargs chmod 774

This might work for you.

11 years ago

When you say to go into you mean index.php?

11 years ago

i found the solution on this problem. It is not so rellative in my case the permissions. The problem there was that i had to create a directory with the name phpsessions and after on php settings i have to write the full address .... session.save_path :/var/www/vhosts/wiserhost.gr/grav.wiserhost.gr/phpsession/ ....

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1332 9 years ago
Archive · by Muut Archive, 9 years ago
2 923 9 years ago
Archive · by Muut Archive, 9 years ago
2 4053 9 years ago
Archive · by Muut Archive, 9 years ago
1 2931 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago