phpList an open-source newsletter manager, with lots of features - the best of them: it's free ...
... like with Tiny Tiny RSS, when install phpList on your own server, you need to keep the software up to date.
How you are going to updated depends strongly, on how you have installed the software. For this how-to I assume the source code is installed outside the web root and is symbolically linked to.
e.g.
lists -> ../phplist-3.0.3/public_html/lists/How to update phpList?
First backup your current installation as well as the database.
Let's say your current installation version 3.0.3 is at phplist-3.0.3, you do not need to create a copy because we will not change this installation at all.
To create a backup of your current database use your favorite tool, e.g. phpMyAdmin
or by command line
mysqldump -u [db-username] -p phplist > phplist-3.0.3.sqlDownload the new version and unzip it:
tar -zxf phplist-3.0.4.tgzIf you did any changes on the old source code compare the old and new versions to see which changes you need to apply to the new version:
diff -rq phplist-3.0.3 phplist-3.0.4 > diff.txtMost likely you will have changed (repaired?) the styles and language files. Copy your "old" configuration file to the new version:
cp phplist-3.0.3/public_html/lists/config/config.php phplist-3.0.4/public_html/lists/configCheckout if there are new settings you might want to include.
Next, create a dummy sym-link in your web folder to see if everything works fine, e.g.:
ln -s ../phplist-3.0.4/public_html/lists newlistsEnter the admin interface and click on "upgrade" ... if there are no further problems with the layout, etc. link also your working directory to the new version, e.g.:
rm lists; ln -s ../phplist-3.0.4/public_html/lists lists... and done ...
No comments:
Post a Comment