[Mediawiki-l] update.php failing on 1.4 install

Brion Vibber brion at pobox.com
Mon Mar 21 21:22:05 UTC 2005


Rick DeNatale wrote:
> I'm trying to update from 1.3.x to 1.4.  I've unpacked the tar file
> over my 1.3 install which is in /var/www/html/wiki
>
> when I cd to /var/www/html/wiki/maintenance and run php update.php I get:
>
> -----
>
> [rick at frodo maintenance]$ php update.php
> X-Powered-By: PHP/4.2.2
> Content-type: text/html

You're running PHP's CGI script interface instead of the command line
script runner. The command-line arguments thus aren't passed to the
script correctly, and it's unable to identify the proper directory to
work in.

There may be a separate command-line executable on your system called
'php-cli' or similar (you might have to install a separate package on
some systems).

4.2.2 is a very old version with a lot of bugs; upgrade to 4.3.10 if you
can.

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20050321/f34766e3/attachment.pgp 


More information about the MediaWiki-l mailing list