On 8/23/09 9:48 PM, dan nessett wrote: > --- On Sun, 8/23/09, Andrew Garrett<[email protected]> wrote: > >> $ MW_INSTALL_PATH=/var/wiki/mediawiki php/maintenance/update.php > > I don't understand the point you are making. If an MW administrator > can set environmental variables, then, of course, what you suggests > works. However, Brion mentions in his Tues, Aug 11, 10:09 email that > not every MW installation admin can set environmental variables and > Aryeh states in his Tues, Aug. 11, 10:09am message that some MW > administrators only have FTP access to the installations they manage.
For a little background -- There are basically two ways to get at 'mediawiki stuff': 1) Through the web (PHP run via web server) -- this is the main MediaWiki user interface. 2) On the command line (PHP run from a login shell) -- the various maintenance scripts. Everybody can do the web, but configuration may be limited: * environment variables can be set in web server configuration, but this might not be available in a limited shared hosting environment * environment variables can be set with 'putenv' within a PHP script... but this may be disabled in some shared hosting environments. Some folks also have no command-line shell access to their server, in which case they can't run any of the maintenance scripts -- so have no place to set an environment variable there either. -- brion _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
