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@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)