Thread:Project:Support desk/Having trouble running update.php/reply (7)

I've found running maintenance scripts with GoDaddy to be extremely difficult. The cron jobs default to php5, and I think it specifies a file path, but it doesn't work at all. I tried:

cd /path/to/wiki/maintenance/ php update.php

instead of php5. That worked. It seems that MediaWiki 1.20 requires php 5 to run the maintenance script.

Are you on a Windows or Linux server? It makes a small difference with the file path since UNIX OSs don't start with a drive.

Try taking your absolute hosting path (available on the hosting server control panel home page), adding the server root (should be /html/), followed by the file path from the root of your server to the wiki maintenance script, and using that to run the script. It might be something like:

/home/file/path/to/html/subDomainFolder/w/maintenance/update.php

As for the php instruction before it, try php or php5.

The php.ini file should be in the root folder (/html/) of your server. You can try adding the absolute hosting path to it. Possibly something like:

/home/file/path/to/html/php5.ini

I think php5 uses a different .ini file.

If you've used Terminal before, the command line on Linux is fairly similar to Mac OS.

Another thing that maintenance scripts need is for

register_arc_argv

to be enabled.

I don't know if this was part of the problem here, but I've noticed that the autoinstallers from webhosts often can cause problems. I put a notice on the installation instructions page recently because we had a problem with one.|07:32, 21 January 2013 (UTC)