Skip to main content

Upgrading a manual installation

You should upgrade your phpList installation frequently. By keeping up-to-date you can take advantage of the latest features in phpList which will make your work easier and help you advance your work.

Often, a new version will include security updates which are important to protect your data, and the personal details of your subscribers. 

 Upgrading from phpList 2 (orange) to 3 (grey) works well - if you are still using phpList 2 please upgrade as soon as as you can.

Overview

If you installed phpList manually, this is the correct installation method for you. The process consists of the following steps:

  • Download the new version
  • Unzip the files
  • Back up your database
  • Back up your config.php
  • Replace old version on your server with new version
  • Replace new config.php with your back up
  • Upgrade database with automated updater

When to update

You can sign up for email notification about new versions of phpList by subscribing to our announcements list.

When normal configuration/settings have been maintained, phpList will check for updates every 7 days. You can adjust the frequency of checks on the Config > Settings page, accessed via the main menu.

When a new version had been released you will receive a notice on your dashboard.

You can navigate to your Dashboard from any page in phpList by clicking the link at the top of the Navigation sidebar.

phpList dashboard

 

If you see a notification saying "A new version of phpList is available!" then it's time to upgrade.

Downloading the new version

From your Dashboard notification, click Download.

do I need to upgrade phpList? YES!

This will take you to phpList.com/download, where you click DOWNLOAD ZIP or DOWNLOAD TGZ.

phpList upgrade download

You will be redirected to SourceForge, where your download will start after a few seconds.

Choose a place on your computer to store the file and click Save (your own operating system/browser may work differently).

phpList upgrade download new version

 

Unzipping phpList

Once you have downloaded phpList to your computer, unzip it. You can usually do this by right clicking and choosing Extract Here (Linux, as in screenshot), double clicking the folder (mac) or right click "extract all" (windows).

 phpList upgrade new version extract files

Next you must back up your installation, this is a vital step as it will keep your data safe is anything goes wrong with the upgrade process.

Back up your database

The method of doing this will depend on your hosting provider. In this example we use cpanel. Click on the MySQL Databases icon.

phpList upgrade backup database cpanel 

Locate your phpList database and click Backup.

phpList upgrade backup database cpanel

 

Choose to Save File and click OK.

phpList upgrade backup database save

Choose a location on your computer to save your database too, and click Save.

phpList upgrade backup database save 

 

Backing up your config.php

You also need to back up your config.php., which is usually located at public_html/lists/config/config.php on your server. You will need this file again later. 

You can do this using an ftp client. In screenshot below we used filezilla and the config.php file was simply dragged and dropped onto into the backup folder.

phpList upgrade backup config.php 

If you have customized/altered any other files for some non-standard scenario you should back them up too.

Upload the new version

Next you need to upload the new version files to replace the files from the previous version. You can do this using an ftp client. This is similar to installing for the first time. In the screenshots below we used filezilla.

First we selected all the files within the public_html/lists folder on our pc, then we uploaded them to the public_html/lists folder on our server.

phpList upgrade ftp 

You need chose to overwrite all files.

phpList upgrade upload files via ftp replace all / overwrite 

Replace new config.php with your own

Now you need to replace the new config.php file with the one you backed-up earlier, which has your system details already set up.

We did this using an ftp client.

phpList upgrade replace config.php 

Update your database

Finally, log in to your instillation (http://yourdomain.com/lists/admin).

You will see a big red box at the top of the screen telling you to upgrade your database. Click Upgrade.

phpList upgrade database error

 

Read the text, and click Upgrade

 

phpList upgrade

You will see a progress bar, and when the process has finished you will be told that you have successfully upgraded.

phpList upgrade success

Feedback

Discuss this chapter here.