[Mediawiki-l] Trouble using phpshell to run maintenance scripts

The Gadget Doctor mediawiki at thegadgetdoctor.com
Fri Sep 14 22:31:49 UTC 2007


I'm trying to use phpshell to run maintenance scripts as I'm on a shared
host with no shell access. I can execute most usual commands (ls, cd, cp, mv
and even php -h) but if I try to run any of the scripts I get the following:

$ php -f cleanupTitles.php

This script must be run from the command line

I've tried looking in the php and even commenting out the test for the
command line but to no avail.

Am I missing something obvious?

Any help appreciated!

Brian London


More information about the MediaWiki-l mailing list