MyBB Community Forums

Full Version: Change permissions, but the installer says that I have not done it
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
Change the permissions of the config.php file and the cache folder, I did it in ssh and in terminal, but the installer says that I have not done it
Also tried this in terminal:
sudo chgrp apache /var/www/html
sudo usermod -a -G apache apache
sudo chmod -R 775 /var/www/html
sudo chmod -R g+s /var/www/html
sudo chown -R apache /var/www/html

Best Regards
You’ll need to check with your host, the installer uses the PHP is_writable() function here, so if PHP still doesn’t think it can write to the files, you’ll need to ask your host to look into why. Is it definitely the file inside /inc/ you're changing?
(2022-04-04, 10:00 AM)Matt Wrote: [ -> ]You’ll need to check with your host, the installer uses the PHP is_writable() function here, so if PHP still doesn’t think it can write to the files, you’ll need to ask your host to look into why. Is it definitely the file inside /inc/ you're changing?

I can solved with this

sudo chcon -R -t httpd_sys_rw_content_t config.php

Smile Best Regards