phonicmouse Hi all, I have the following problem: I installed flarum with composer on my centos 7 server that runs php 5.6 and apache...and for now , everything is OK, when I first browsed to the flarum installation I saw the page with the flarum logo saying that I have to chmod 775 the main folder and some other folders...now happens something that I don't understand... I've chmodded everything with chmod 775 -R and also 777 and then I've run chown apache:apache to assign the folder to the Apache user, but when I reopened the browser I found the same page saying again that I have to chmod 775 the folders.. I don't know what to do... Hoping that someone will help me ?
jordanjay29 Generally you need to chown/chgrp to the php user, not Apache user. try sudo chgrp -R www-data /public_html where public_html is the relative path to your flarum installation and www-data is your php user group, if different from www-data.
phonicmouse I tried that but it says that the user does not exists...I tried reinstalling php but nothing...I will retry and I will let you know if it worked Anyway...thanks fo help ?
iddno phonicmouse I'm pretty sure on CentOS it is just apache as user name instead of www-data sudo chown -R apache:apache /your/public/html/folder sudo chown -R www-data:www-data /your/public/html/folder
webeindustry In centos with apache you are usually working with apache user instead of www-data. I suspect the issue is related to selinux though it's been a while since I used a redhat flavored distro.
phonicmouse Yes, i suppose it is like you said, i checked again and i found that the php user is the apache user... Not a problem, i will switch to ubuntu ? Thanks for support!