I have download grav zip file and extract it to my web server or local host.iam using fedora
OS with PHP version 5.6.23
.on navigating localhost/grav in browser,it shows a blank page.can anyone help me to solve this?
Asked
Active
Viewed 1,132 times
0

Moby M
- 910
- 2
- 7
- 26
-
What web server are you using? – Jacobm001 Aug 17 '17 at 21:00
-
What is the full path of the directory you extracted the files to? – Jacobm001 Aug 17 '17 at 21:00
-
@Jacobm001 I am using apache web server and directory path is /var/www/html/grav/ – Moby M Aug 18 '17 at 04:29
-
Do you see any related errors in /var/log/httpd/error_log? – Hung Tran Aug 19 '17 at 11:12
1 Answers
0
Check /var/log/httpd/error_log, if you see errors about file permission, maybe SELinux prevented web server from writing configuration files. This often happens to a fresh installation of Fedora/apache.
You can try this:
- From terminal, run
su -c "dnf install policycoreutils-python-utils"
to installpolicycoreutils-python-utils
package which providessemanage
- Run
su -c "semanage permissive -a httpd_t"
to ask SELinux to monitor apache in permissive mode and allow apache to write to its public folder.
Now refresh the page to see if Grav is now running.
If this doesn't work and you want to reserve the command semanage permissive -a httpd_t
, you run semanage permissive -d httpd_t
(more details)

Hung Tran
- 790
- 2
- 8
- 24