logo       

Re: Failed 1.4 upgrade (??): msg#00459

org.wikimedia.mediawiki

Subject: Re: Failed 1.4 upgrade (??)

Daniel K. wrote:
> php update.php
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.10

No input file specified.

That's the CGI version of PHP, not the command-line version.

Sometimes the command-line version is named 'php-cli' instead of regular
'php'.

> And then please no more guesses, just a cookbook recipe how
to upgrade 1.3.5 to 1.4.0

First, back up all data.

Untar the archive. Run 'php maintenance/update.php' (with a real
command-line PHP; if the command is named differently use the actual
name.) Remember that for command-line maintenance scripts an
AdminSettings.php is necessary; see AdminSettings.sample.

If command-line PHP is not available, remove LocalSettings.php and
AdminSettings.php, and run the web installer. Give it the same language,
database, name etc settings and it will run the updates on the existing
backups.

-- brion vibber (brion @ pobox.com)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l-T31ubCBy5U6GglJvpFV4uA@xxxxxxxxxxxxxxxx
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise