• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How To Setup PHPList Newsletter Manager in Linux

{{postValue.id}}

Setup PHPList Newsletter Manager in Linux

phpList is an open source software for managing mailing lists. It is designed for the spreading informations, such as newsletters, advertising to list of subscribers. It is written in PHP and uses a MySQLdatabase to store the information. It is subject to the terms of the Affero General Public License (AGPL).

Features

  • Web Based Interface: Lets you write and send messages, and manage your email campaigns over the internet.
  • Use the attributes you define in the emails you send, to make every email personal to the user who receives them.
  • See how many users opened and clicked your email.
  • Add attachments to your message.
  • Limit the load on your server so it doesn' t overload.
  • Limit the number of emails to specific domains to keep on the friendly side of their system administrators.

Install the LAMP setup

Execute the following command to install the LAMP setup

[root@linuxhelp Desktop]# yum install php php-mysql php-imap
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: epel.mirror.net.in
 * extras: mirror.nbrc.ac.in
.
.
.
Dependency Updated:
  php-cli.x86_64 0:5.6.22-1.el6.remi   php-common.x86_64 0:5.6.22-1.el6.remi   php-gd.x86_64 0:5.6.22-1.el6.remi      
  php-ldap.x86_64 0:5.6.22-1.el6.remi  php-mysqlnd.x86_64 0:5.6.22-1.el6.remi  php-odbc.x86_64 0:5.6.22-1.el6.remi    
  php-pdo.x86_64 0:5.6.22-1.el6.remi   php-pgsql.x86_64 0:5.6.22-1.el6.remi    php-process.x86_64 0:5.6.22-1.el6.remi 
  php-soap.x86_64 0:5.6.22-1.el6.remi  php-xml.x86_64 0:5.6.22-1.el6.remi      php-xmlrpc.x86_64 0:5.6.22-1.el6.remi  
Complete!

Now start Apache and MySQL service.

[root@linuxhelp Desktop]# service httpd start
Starting httpd:                                            [  OK  ]
[root@linuxhelp Desktop]# service mysqld start
Starting mysqld:                                            [  OK  ]

Download the phplist package

Download the phplist package by executing the following command.

[root@linuxhelp Desktop]# wget http://prdownloads.sourceforge.net/phplist/phplist-3.2.5.tgz?download
--2016-06-01 18:21:10--  http://prdownloads.sourceforge.net/phplist/phplist-3.2.5.tgz?download
Resolving prdownloads.sourceforge.net... 216.34.181.59
.
.
.
Saving to: “ phplist-3.2.5.tgz?download” 
100%[=============================================================================> ] 5,827,613   74.7K/s   in 91s     
2016-06-01 18:22:48 (62.6 KB/s) - “ phplist-3.2.5.tgz?download”  saved [5827613/5827613]

Extract the downloaded phplist package

Run the following command to extract the downloaded phplist package

[root@linuxhelp Desktop]# tar -xvf phplist-3.2.5.tgz?download 
phplist-3.2.5/CODING.md
phplist-3.2.5/CONTRIBUTING.md
phplist-3.2.5/COPYING
.
.
.
phplist-3.2.5/tests/travis-ci/
phplist-3.2.5/tests/travis-ci/behat.yml
phplist-3.2.5/tests/travis-ci/config.php

Go to the extracted directory.

[root@linuxhelp phplist-3.2.5]# cd public_html
[root@linuxhelp public_html]# ls
index.html  lists

Now copy the lists directory into web root directory.

[root@linuxhelp public_html]# cp -r lists/ /var/www/html/

Login the mysql server and create a new database and grant permission to this db.

[root@linuxhelp Desktop]# mysql -u root -p 
Enter password:
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 3
Server version: 5.6.30 MySQL Community Server (GPL)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

mysql>  create database php_db  
Query OK, 1 row affected (0.06 sec)
mysql>  grant all on php_db.* to ‘ user1’ @’ localhost’  identified by ‘ _password_’   
Query OK, 0 row affected (0.15 sec)
mysql>  flush privileges 
Query OK, 0 row affected (0.07 sec)
mysql>  quit 
Bye

Now go to the web root directory and open the copied file from public_html directory.

[root@linuxhelp Desktop]# cd /var/www/html/
[root@linuxhelp public_html]# cd lists/

List the lists directory and go to the config directory

[root@linuxhelp lists]# ls
admin   dl.php  index.html  js      styles  ut.php
config  images  index.php   lt.php  texts
[root@linuxhelp lists]# cd config/

Open the config.php file by using your favorite editor.

[root@linuxhelp config]# ls
config_extended.php  config.php
[root@linuxhelp config]# vim config.php

mysql

Here enter the db details, username assigned for this db and password and do same changes in bounce column also

db details

Replace Test 1 into Test 0
replacing

Now change the ownership and permission for that lists directory, present under web root directory.

[root@linuxhelp Desktop]# chown &ndash R apache.apache /var/www/html/lists
[root@linuxhelp Desktop]# chmod &ndash R 755 /var/www/html/lists    

Open the browser and navigate to the following path.
http://locallost/lists/admin
or
http://server-ip/lists/admin

Now the phplist application will be opened
phplist
Choose initialize Database option. Fill the appropriate information and press continue
database option

If you want to subscribe press subscribe button or select phpList Setup button.
subscribe button

Logout the phplist and login again with your assigned password and the default username is ‘ admin’ .

phplist

Now Start creating new campaigns, view campaigns, add/delete users, view statistics and many more features to explore from the Dashboard.
create new campaigns

Tags:
matthew
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Which site to refer for PHP newsletter manager in Linux?

A

use the following link for refering
https://www.phplist.com/

Q

I would like to know about the price details of phplist?

A

kindly refer the following link for PHPlist pricing, https://www.phplist.com/pricing

Q

is the PHPList Newsletter Manager is a open source?

A

yes, PHP list newsletter manager is open source

Q

name some alternatives same as PHPlist newsletter?

A

use the following list for alternatives

Sympa
Mailtrain
Maily Herald
OpenEMM

Q

What are all the package to be installed for LAMP setup in linux?

A

list of commands available for LAMP setup

php
php-mysql
php-imap
httpd
mariadb-server

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.