Manual talk:Update.php

From MediaWiki.org
Jump to: navigation, search

mediawiki as library[edit]

Is update.php intended only to upgrade mediawiki core or to maintain update for specific extensions/ (like wikilog does) ?. I have installed wikis sharing the same svn codebase but with differents databases and sql schemas differs (myextensions/*). Any clue? Greudin 09:36, 6 August 2010 (UTC)

PHP Error[edit]

My Special Version Page says that I'm running php 5.3.6 and I am getting the following error when trying to run this script??

You are using PHP version 4.4.9 but MediaWiki needs PHP 5.2.3 or higher. ABORTING. Check if you have a newer php executable with a different name, such as php5.

Any ideas???

--Budstellabecks 10:39, 31 August 2011 (UTC)

You run this old PHP version on the shell. Make sure that you run a current PHP version - also on the shell. --88.130.93.218 16:10, 5 March 2014 (UTC)
Sometimes, the system uses the default PHP configured. What you can do is update the command so that it will point to the latest version of PHP installed on your machine.
The updated command would be /path_to_bin_folder_of_php/php update.php
Worked for me — Preceding unsigned comment added by Soumya Sadanandan (talkcontribs)

In update.php : syntax error, unexpected '[' in line 170[edit]

When I try to execute it I have this error. Does anybody know why? Thanks

Reply