Page 1 of 1

Check for writeable config file

Posted: Sat Mar 23, 2019 6:11 pm
by Streamer
Trying to upgrade to 2.2.10.

"Check for writeable config file
The HTTP process cannot write to the config.php file. Please try to change the permissions on this file to 777 until the upgrade process is complete"

I have set chmod 777 config.php its -rwxrwxrwx but still the same error.

Re: Check for writeable config file

Posted: Sat Mar 23, 2019 6:18 pm
by DIGI3
It may be an ownership issue rather than permission. You'd need to see what user PHP/phar is running as and compare it to the owner of the config.php file. It's possible you'll need to contact your host for assistance if you don't have shell access.

Re: Check for writeable config file

Posted: Sat Mar 23, 2019 6:19 pm
by DIGI3
Also in rare cases I've also seen that problem come up when there's other non-writable files in the site directory. I don't know if that's still a thing, but worth checking.

Re: Check for writeable config file

Posted: Sat Mar 23, 2019 6:45 pm
by Streamer
Thanks for the reply. I have shell access, how do I check what user PHP/phar is running?

Re: Check for writeable config file

Posted: Sun Mar 24, 2019 8:30 pm
by velden
777 should be good.

Make sure the browser is refreshed, or start the upgrade from another (incognito) browser.

Re: Check for writeable config file

Posted: Mon Jan 10, 2022 5:14 am
by SpringSummer
I had the same issue. Was using Firefox. Triplechecked config.php was 777, but was getting the same message.
Then I switched to Chromium. Error message went away!
What I suspect is the issue is that on Chronium a pop-up dialog was shown, something like "are you sure you want to proceed yes no", which I DID NOT see on Firefox.
Also I run a crapload of blocking extensions that block scripts and ads and whatnot, so Firefox is heavily "broken" on purpose on many websites. Are you running such blocking utilities (like NoScript, etc)?