All,
This problem has been brought up before but none of the previously provided answers have solved the problem for me.
I have installed Projeqtor on a Centos 7 server, loaded specifically for use by Projeqtor. Upon first configuration, I get through everything correctly only to find the "incorrect value for 'Log file name', cannot write to such a file : check access rights" error message at the end. It has been stated that the "files" folder and all sub-folders need to be owned by the apache user on Centos and have at least 755 privileges. I did this and got the same error. I then opened the rights up as far as I am aware they can be, as shown below:
4 drwxrwxrwx. 10 apache apache 4096 Apr 2 21:22 .
4 drwxrwxrwx. 12 apache apache 4096 Apr 2 21:23 ..
0 drwxrwxrwx. 3 apache apache 35 Apr 2 21:22 attach
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 config
0 drwxrwxrwx. 2 apache apache 35 Apr 2 21:22 cron
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 images
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 import
4 -rwxrwxrwx. 1 apache apache 1256 Apr 2 21:22 index.php
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 logs
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 report
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 thumbs
Even at this, I get the same error message as before. I even tried creating a new files folder and subfolders outside of the /var/www/html/projeqtor structure with the same wide open privileges and again, same error message.
Does anyone have any ideas on how I am to configure this to get past this error during config?
Thanks for any help you can provide.
Jim Verduin
It must be because of SELinux, installed by default on CentOS
Here is some help (I hope)
https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/
Thanks babynus. I will look through that.