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
mediawiki-l@lists.wikimedia.org