Unable to write to the config.php

kousun12

Joined: 2011-10-26
Posts: 2
Posted: Wed, 2011-10-26 20:13

Hi,
I'm upgrading from 2.2 to 2.3.1 but keep getting stuck. I get:

Quote:
"Unable to write to the config.php configuration file in your gallery2 directory. Please change its permissions. If you're on Unix you can do chmod 666 config.php to fix this."

I've changed the permissions like it suggests, and it still says it cannot write to that file. I changed to 777 and still no luck. Any ideas on what is going wrong?

ls -l shows:
-rwxrw-rw- 1 rcheung ncsa 1987 Dec 14 2009 bootstrap.inc
-rwxrw-rw- 1 rcheung ncsa 56515 Oct 25 14:41 cleanup.sh
-rwxrwxrwx 1 stevek ncsa 8263 Oct 26 14:10 config.php
-rwxrw-rw- 1 rcheung ncsa 1520 Jun 11 2008 embed.php
drwxrw-rw- 2 stevek ncsa 2048 Oct 25 14:38 images
-rwxrw-rw- 1 rcheung ncsa 1989 Apr 12 2008 index.php
-rwxrw-rw- 1 rcheung ncsa 9404 Dec 14 2009 init.inc
drwxrw-rw- 7 stevek ncsa 2048 Oct 25 14:38 install
drwxrw-rw- 15 stevek ncsa 2048 Oct 25 14:38 lib
-rwxrw-rw- 1 rcheung ncsa 18011 Dec 1 2006 LICENSE
drwxrw-rw- 34 rcheung ncsa 2048 Oct 25 13:48 locale
-rwxrw-rw- 1 stevek ncsa 33 Jul 9 2008 login.txt
-rwxrw-rw- 1 rcheung ncsa 22978 Sep 2 2008 main.php
-rwxrw-rw- 1 rcheung ncsa 65564 Dec 16 2009 MANIFEST
drwxrw-rw- 74 stevek ncsa 4096 Oct 25 14:39 modules
-rwxrw-rw- 1 rcheung ncsa 85393 Dec 14 2009 README.html
drwxrw-rw- 11 stevek ncsa 2048 Oct 25 14:38 themes
drwxrw-rw- 7 stevek ncsa 2048 Oct 25 14:39 upgrade

i'm user rcheung, but i dont think that should matter.


Gallery version 2.2:
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system OSX:
Browser Firefox 4.0.1: