Hi all
I have installed userfrosting on a centos 7 server, The installation happened with no error, but when I connect to the userfrosting URL http:\localhost\userfrosting\public I get the following screen output:
---------8< -------
Something’s not right here.
Please fix the following errors, then reload..
Incorrect permissions for file or directory.
/var/www/html/userfrosting/app/logs is not writeable, but it should be writeable. Please modify the OS user or group permissions so that user apache has write permissions for this directory.
Incorrect permissions for file or directory.
/var/www/html/userfrosting/app/cache is not writeable, but it should be writeable. Please modify the OS user or group permissions so that user apache has write permissions for this directory.
Incorrect permissions for file or directory.
/var/www/html/userfrosting/app/sessions is not writeable, but it should be writeable. Please modify the OS user or group permissions so that user apache has write permissions for this directory.
Apache module mod_rewrite is installed and enabled.
Great, we found the mod_rewrite Apache module!
PHP version checks out!
You're using PHP 5.6or higher. Great!
PDO is installed!
You've got PDO installed. Good job!
GD library installed!
Great, you have GD installed and enabled.
Function imagepng is available!
Sweet!
Function imagecreatetruecolor is available!
Sweet!
Function imagecolorallocate is available!
Sweet!
Function imagefilledrectangle is available!
Sweet!
Function imageline is available!
Sweet!
Function imagesetpixel is available!
Sweet!
Function imagefontwidth is available!
Sweet!
Function imagestring is available!
Sweet!
---------8< -------
It seems as if the apache user does not have write access to some directories but it has.
[root@analytics app]# pwd
/var/www/html/userfrosting/app
[root@analytics app]# ls -l
total 16
drwxr-xr-x. 3 apache apache 40 Sep 8 15:23 cache
-rwxr-xr-x. 1 apache apache 1867 Sep 8 14:35 defines.php
drwxr-xr-x. 2 apache apache 22 Sep 8 14:35 logs
drwxr-xr-x. 2 apache apache 22 Sep 8 14:35 sessions
drwxr-xr-x. 5 apache apache 46 Sep 8 14:35 sprinkles
-rw-r--r--. 1 apache apache 100 Sep 8 14:35 sprinkles.example.json
-rw-r--r--. 1 apache apache 100 Sep 8 15:16 sprinkles.json
drwxr-xr-x. 5 apache apache 146 Sep 8 14:35 system
drwxr-xr-x. 3 apache apache 70 Sep 8 14:35 tests
drwxr-xr-x. 35 apache apache 4096 Sep 8 14:37 vendor
[root@analytics app]#
Additionally I set acls to the complete path /var/www/html/userfrosting so that apache user has full access to all directories in the path.
Is there any hint what is going wrong here?
thanks Christian