Usage of spip_loader

« Spip_loader » is a script that allows to install or to update your SPIP site automatically without uploading all the files by ftp.

Current version of spip_loader : 2.5.6

Use spip_loader to install SPIP automatically

  1. Download the script
  2. Set this file via ftp in the directory where you want to install SPIP (generally at the root of your servor).
  3. Call the script from your navigator http://www.monsite.tld/spip_loader.php
  4. The script checks if your hosting has the capability then indicates the SPIP version you are going to install or update.
  5. Launch the automatic installation.

Once SPIP installed, you can safely leave the script spip_loader.php (from version 2.1) on the server. Only the authorised and authenticated administrators will be able to proceed. The benefit is to be able, in case of alert, to update SPIP very easily.

Use spip_loader to proceed to an update

To update SPIP, proceed the same way:

  1. Put the script to your server (if not already done)
  2. Call the script from your navigator http://www.monsite.tld/spip_loader.php
  3. 3. Launch the automatic installation process

Before calling the script you should be identified as a webmaster.

By default only the author number 1 can proceed to this update.
If you want to add other authors you should edit this line of the script :

If you want to use spip_loader to update SPIP in the last version of the 2.1 branch read carefully the following paragraph to understand how to change to the targeted version.

Install another version

By default the script installs and updates to the last stable version of SPIP.

If you want to install or upadte to a different version, edit the line:
define('_CHEMIN_FICHIER_ZIP', 'spip/stable/');
replacing for example:
'spip/stable/' .

What to do in case of failure?

spip_loader can fail to upload files. Generally it is caused by permissions issues on the server. In this case you will have to install SPIP:

  • either transferring manually the files via ftp
  • or using subversion (advanced users)

Author jack Published : Updated : 30/11/15

Translations : English, français, Nederlands, українська