emufarmers at gmail.com
Thu Aug 9 01:27:24 UTC 2007
On 8/8/07, Sean O'Connor <sean at transabled.org> wrote:
> Me again :)
> I was looking for a sitemap extension and found a reference to the script:
> So, load Putty, run 'php maintenance/generateSitemap.php' and I get
> the error message that the script needs php5 to run, and I'm running
> php 4.4.6 (which I do, using a htaccess modifier to trigger php5).
> My host says that if you need to run individual files as php 5, you
> could rename the extension to .php5
> I've tried that, and tried running the script again, but got no more luck.
> Does anyone have other ideas on how to get this generated?
Find where your host keeps php5. For instance, with DreamHost, to run MW
maintenance scripts, you must use /usr/local/php5/bin/php instead of php.
"whereis php5" could help you find what you need, though your host should be
able to tell you.
Arr, ye emus, http://emufarmers.com
More information about the MediaWiki-l