Web root path is /var/www/
I'm somewhat comfortable on the command line, but for sure not a sysadmin. Right now the permissions for config.php read:
-rw-rw-rw-. 1 jack.brighton jack.brighton 0 Jun 30 17:56 config.php
Also, changing permissions on config.php to 777 did not fix the issue.
777 is unsafe (public write on config files, nice), especially on a shared enviroment.
I recommend 775.
The web user needs write permissions to set config values.
i think its about time I switched to WHMCS after looking at it for years