--- On Sat, 8/22/09, Platonides
<Platonides(a)gmail.com> wrote:
How's that better than MW_CONFIG_PATH
environment
variable?
My understanding is that the administrators of certain installations
cannot set environmental variables (I am taking this on faith,
because that seems like a very very restricted site). What I
suggested takes no work at all by installers or wiki administrators.
MWInit.php (or whatever people want to name it) is part of the
distribution. When you run a command line utility you have to be
able to type something like "php <some name>.php". If you can do
that, you should be able to type "php -d <directory where MWINI.php
is located> <some name>.php".
$ MW_INSTALL_PATH=/var/wiki/mediawiki php maintenance/update.php
--
Andrew Garrett
agarrett(a)wikimedia.org