CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Check for writeable config file
https://forum.cmsmadesimple.org/viewtopic.php?f=8&t=80419
Page 1 of 1

Author:  Streamer [ Sat Mar 23, 2019 6:11 pm ]
Post subject:  Check for writeable config file

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.

Author:  DIGI3 [ Sat Mar 23, 2019 6:18 pm ]
Post subject:  Re: Check for writeable config file

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.

Author:  DIGI3 [ Sat Mar 23, 2019 6:19 pm ]
Post subject:  Re: Check for writeable config file

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.

Author:  Streamer [ Sat Mar 23, 2019 6:45 pm ]
Post subject:  Re: Check for writeable config file

Thanks for the reply. I have shell access, how do I check what user PHP/phar is running?

Author:  velden [ Sun Mar 24, 2019 8:30 pm ]
Post subject:  Re: Check for writeable config file

777 should be good.

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/