Good night mates,
I am newbie here. I have find Grav because I was looking for an alternative at overweight’s Wordpress CMS. I just only looking for a simple, easy and very lightweight CMS. So just I found Grav.
However, I had a lot of problems with Grav to get to work in CentOS and Fedora.
I’m going to explain what I had to do if somebody has the same problem, How to resolve it.
1º Download grav-admin.zip and extract it into /var/www/html
2º Modify permissons as
3º Add your user into apache group -> gpasswd -a $USER apache
4º Change owner’s direcoty -> chown -R apache:$USER /var/www/html/grav-admin
5º Edit /etc/httpd/conf/httpd.conf
Go to <Directory /var/www/html> and replace “AllowOverride none” -> into -> "AllowOverride All"
6º Restart the Apache service -> systemctl restart httpd
7º Apply SELinux policies changes to get to works (into 11 policies to changes)
ausearch -c ‘php-fpm’ --raw | audit2allow -M my-phpfpm
semodule -X 300 -i my-phpfpm.pp
8º You can see Grav setup and after it without any troubles.
Software you need to install on it:
I hope help you if you had this problem.