Live Chat Software by NetForChoice
PHPlist – Open Source Email Newsletter Manager (Mass Mailing) Application for Linux
Posted by Helpdesk System on 28 March 2016 07:36 PM
phpList is one of the most popular open source mailing list manager that has a capability of sending newsletters, news, messages to a huge number of subscribers. It provides a user friendly interface where you can manage newsletter, subscriptions lists, newsletter reports, notification and much more. You can also call it as mass mailing software. It’s very easy to integrate with any website.
The phpList uses MySQL database for storing information and the script is written in PHP. It runs on any web server which helps the administrator to set up a system for newsletter subscription wherein the users can subscribe to the respective mailing list. You can manage your own mailing list and also attach files to the emails (deal announcement, business documents) etc.
The software was designed for GNU/Linux with Apache. It is also supports other Unix-like systems, such as FreeBSD, OpenBSD, Mac OS X, and Windows.
Features of phpList
Requirement of phpList
In order to install PhPlist application we require:
Installation of phpList Newsletter Manager in Linux
As I mentioned earlier that phpList is developed in PHP for Linux with Apache. So, you must have a running Web server with PHP and MySQL installed on the system. Additionally, you also have to installIMAP module for bounce message processing. If not, install them using package manager tool called yum or apt-get according to your Linux distribution.
Note: ( Make sure that before installing or configuration of SMTP phpList any SMTP MTA like postfix should be installed on server.)
Step 1: Install Apache, PHP and MySQL
Install on Red Hat based systems using yum command.
# yum install httpd # yum install php php-mysql php-imap # yum install mysql mysql-server # service httpd start # service mysqld start
Install on Debian based systems using apt-get command.
# apt-get install apache2 # apt-get install php5 libapache2-mod-auth-mysql php5-mysql php5-imap # apt-get install mysql-server mysql-client # service apache2 start # service mysql start
Step 2: Create phpList Database
Once you’ve installed all the required packages on the system, just login to your database (MySQL, here).
# mysql -u root -p
Enter mysql root password. Now create a database (say phplist).
mysql> create database phplist; Query OK, 1 row affected (0.00 sec)
It is not a good practice to access database from root user directly, hence create a user called ’netforchoice' and grant all the permission to user on the database ‘phplist‘ with a password to access it. Replace ‘my_password‘ with your own password, we need this password later while configuring phpList.
mysql> grant all on phplist.* to netforchoice@localhost identified by 'my_password'; Query OK, 0 rows affected (0.00 sec)
Now reload privileges to reflect new changes on the database and quit the mysql shell.
mysql> flush privileges; Query OK, 0 rows affected (0.08 sec) mysql> quit; Bye
Step 3: Download and Install phpList
Now go the official phpList site and download the latest source tarball (i.e version 3.0.5) using below link.
Alternatively, you may also download the latest source package using the following wget command.
# wget http://garr.dl.sourceforge.net/project/phplist/phplist/3.0.5/phplist-3.0.5.tgz
After Downloading the phplist package, unpack the package files. It will create a directory called ‘phplist-3.0.5′ in this directory, you will find a ‘public_html‘ which contains the directory lists.
# tar -xvf phplist-3.0.5.tgz # cd phplist-3.0.5 # cd public_html/
Now Copy the “lists” directory into a Apache web root directory that can be accessed via the web.
# cp -r lists /var/www/html/ [For RedHat based Systems] # cp -r lists /var/www/ [For Debian based Systems]
Step 4: Configuring phpList
Open phpList configuration file ‘config.php‘ from the ‘lists/config’ directory in your preferred text editor.
# vi config.php
Add the phpList database connection settings such hostname, database name, database user and database password as shown below.
# what is your Mysql database server hostname $database_host = "localhost"; # what is the name of the database we are using $database_name = "phplist"; # what user has access to this database $database_user = "netforchoice"; # and what is the password to login to control the database $database_password = 'my_password';
You need to edit one more setting, by default phpList in ‘testmode‘, so you need to change the value from ‘1‘ to ‘0‘ to disable testmode.
Once you’ve entered all the details details. Save and close the file.
Step 5: Access phpList Application
Finally, point to your browser at ‘lists/admin‘ directory of your phpList installation. A web-based installation wizard will walk you through the rest.
http://localhost/lists/admin OR http://ip-address/lists/admin
Note: If your website ‘example.com‘ is pointed to the directory ‘/var/www/html/‘, and you have placed your phpList files under ‘/var/www/html/lists‘, then you should point your browser tohttp://www.example.com/lists/admin/.
Now click on ‘Initialise database‘ and fill information about your organization and set ‘admin‘ password.
Once, database initialise completes, continue to phpList setup to complete your configuration as per your requirements.
Once, setup complete. Login into your phpList admin panel.
Start creating new campaigns, view campaigns, add/delete users, view statistics and many more features to explore from the Dashboard.
That’s it! Now, you can start customizing and branding of your newly installed phpList newsletter manager application.