Hi, I just downloaded and installe the last MediaWiki. The installation and configuration went well, but now I cannot see anything in config/LocalSettigs.php.
I've tried to use "chmod 777 config/LocalSettigs.php" to exclude permission problem, with lo luck.
Maybe the problem is related to apache that is the owner of the file:
dcs:~/dcs.di.unipmn.it/mex/mediawiki/config $ ll total 92 -rw-rw-rw- 1 apache apache 4158 2010-01-27 12:03 LocalSettings.php -rw-r--r-- 1 mex mex 76239 2009-05-08 07:51 index.php -rw-r--r-- 1 mex mex 68 2007-07-11 09:55 index.php5
If is this the problema, what can I do?
Thansk, Massimo
Hello,
The localsettings.php is in the wiki root, there you should be able to view and edit it.
Please don't make your localsettings 777 it contains your database password btw
Huib
2010/1/27, Massimo Canonico mex@di.unipmn.it:
Hi, I just downloaded and installe the last MediaWiki. The installation and configuration went well, but now I cannot see anything in config/LocalSettigs.php.
I've tried to use "chmod 777 config/LocalSettigs.php" to exclude permission problem, with lo luck.
Maybe the problem is related to apache that is the owner of the file:
dcs:~/dcs.di.unipmn.it/mex/mediawiki/config $ ll total 92 -rw-rw-rw- 1 apache apache 4158 2010-01-27 12:03 LocalSettings.php -rw-r--r-- 1 mex mex 76239 2009-05-08 07:51 index.php -rw-r--r-- 1 mex mex 68 2007-07-11 09:55 index.php5
If is this the problema, what can I do?
Thansk, Massimo _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 1/27/2010 7:34 AM, Massimo Canonico wrote:
I just downloaded and installe the last MediaWiki. The installation and configuration went well, but now I cannot see anything in config/LocalSettigs.php.
I've tried to use "chmod 777 config/LocalSettigs.php" to exclude permission problem, with lo luck.
Maybe the problem is related to apache that is the owner of the file:
dcs:~/dcs.di.unipmn.it/mex/mediawiki/config $ ll total 92 -rw-rw-rw- 1 apache apache 4158 2010-01-27 12:03 LocalSettings.php -rw-r--r-- 1 mex mex 76239 2009-05-08 07:51 index.php -rw-r--r-- 1 mex mex 68 2007-07-11 09:55 index.php5
If you are able to change the group ownership to one you are in (i.e. chown apache.mex LocalSettings.php), that should give you access to the file . Another option is to make yourself a member of the apache group. It needs to be moved down a directory into the main wiki directory. It should also have permissions of 660, not 777. If you were able to change the permission to 777 but still could not read it, then I don't know what's going on. Or do you mean you could not change the permissions? You'll need to be root to do that.
Henry Hartley wrote:
On 1/27/2010 7:34 AM, Massimo Canonico wrote:
I just downloaded and installe the last MediaWiki. The installation and configuration went well, but now I cannot see anything in config/LocalSettigs.php.
I've tried to use "chmod 777 config/LocalSettigs.php" to exclude permission problem, with lo luck.
Maybe the problem is related to apache that is the owner of the file:
dcs:~/dcs.di.unipmn.it/mex/mediawiki/config $ ll total 92 -rw-rw-rw- 1 apache apache 4158 2010-01-27 12:03 LocalSettings.php -rw-r--r-- 1 mex mex 76239 2009-05-08 07:51 index.php -rw-r--r-- 1 mex mex 68 2007-07-11 09:55 index.php5
If you are able to change the group ownership to one you are in (i.e. chown apache.mex LocalSettings.php), that should give you access to the file . Another option is to make yourself a member of the apache group. It needs to be moved down a directory into the main wiki directory. It should also have permissions of 660, not 777. If you were able to change the permission to 777 but still could not read it, then I don't know what's going on. Or do you mean you could not change the permissions? You'll need to be root to do that.
You can change the file ownership as a non-root user using the standard Unix utility called "cp".
-- Tim Starling
On 01/28/2010 12:28 AM, Tim Starling wrote:
Henry Hartley wrote:
On 1/27/2010 7:34 AM, Massimo Canonico wrote:
I just downloaded and installe the last MediaWiki. The installation and configuration went well, but now I cannot see anything in config/LocalSettigs.php.
I've tried to use "chmod 777 config/LocalSettigs.php" to exclude permission problem, with lo luck.
Maybe the problem is related to apache that is the owner of the file:
dcs:~/dcs.di.unipmn.it/mex/mediawiki/config $ ll total 92 -rw-rw-rw- 1 apache apache 4158 2010-01-27 12:03 LocalSettings.php -rw-r--r-- 1 mex mex 76239 2009-05-08 07:51 index.php -rw-r--r-- 1 mex mex 68 2007-07-11 09:55 index.php5
If you are able to change the group ownership to one you are in (i.e. chown apache.mex LocalSettings.php), that should give you access to the file . Another option is to make yourself a member of the apache group. It needs to be moved down a directory into the main wiki directory. It should also have permissions of 660, not 777. If you were able to change the permission to 777 but still could not read it, then I don't know what's going on. Or do you mean you could not change the permissions? You'll need to be root to do that.
You can change the file ownership as a non-root user using the standard Unix utility called "cp".
-- Tim Starling
Yes! It works! thank you!
M
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org