PHPList 安装

邮件发送开源软件 PHPList 安装介绍
1:安装基本信息
官网地址
地址:https://www.phplist.com/
其他:https://www.d-ip.jp/phplist/ 官网手册
https://www.phplist.org/manual/books/phplist-manual/page/installing-phplist-manually 下载URL
地址1:http://www.d-ip.jp/download/images/phplist-3.0.8_ja_dip_20140927.tar.gz
地址2:www.phplist.com/download
| OS |
Linux Windows(XP / Vista / 7 / Server2003 / Server2008) |
| WEB server | Apache2.x 以上 |
| DB | MySQL5.x 以上 |
| PHP | 5.x 以上(mbstring 必须) |

系统环境需求列表:
phpList system requirements
MySQL or MariaDB
Apache Note: phpList optionally uses Apache environment variables
PHP 5.3.3 or later with the following PHP extensions:
pcre
imap
Core
date
hash
SPL
filter
openssl
mbstring
session
curl
xml
iconv
json
gettext
SimpleXML
mysqli
mysql
GD (required by CKEditor Plugin only)
PHP Env
注意:
确认 session.save_path 是否设置正确,web账户是否有权限保存。
如果设置不正确会导致系统登录后跳出等问题。 一般情况下需要确认 php.ini 配置文件,
[Session]
session.save_handler = files
session.save_path = "/tmp" 如果是php-fpm则需要确认 /etc/php-fpm.d/www.conf 中
php_value[session.save_handler] = files
php_value[session.save_path] = /tmp 更改配置后注意需要重启相关的服务!
httpd 或 php-fpm
2 安装流程简介
- Download & Unzip phpList
- Upload to your server using FTP
- Create a database
- Add the database details to the config.php file
- Configure using web interface.
2.1 下载解压后把lists子目录移动到web指定目录下
# tar zxvf phplist-3.0.8_ja_dip_20140927.tar
# mv phplist-3.0.8_ja_dip/public_html/public_html/lists /data/webroot/phplist
2.2 访问WEBURL地址会提示数据库信息未提供
http://xxx.com/phplist/lists/admin/
Cannot connect to database, Sql server is not running.
Please check your configuration or contact the administrator.
2.3 创建数据库和用户
2.4 编辑配置文件
# vi /data/webroot/phplist/lists/config/confg.php

# 1 数据库配置内容:
what is your Mysql database server hostname
$database_host = "localhost";
what is the name of the database we are using
$database_name = "phplistdb";
what user has access to this database
$database_user = "phplist";
and what is the password to login to control the database
$database_password = 'phplist'; # 2 注意下面第三方邮件服务器地址为空,注意屏蔽或设置:
### define("PHPMAILERHOST",''); # 3 默认 TEST 1 不会发任何邮件,需要改成 0
define ("TEST",1); # 4 在最后添加SMTP发件信息 office365 例子如下
# 注意加密端口可能是465 ssl 根据邮件供应商信息填写
define('PHPMAILERHOST', 'smtp.office365.com');
$phpmailer_smtpuser = 'user@company.com';
$phpmailer_smtppassword = 'user_password';
define("PHPMAILERPORT",'587');
define("PHPMAILER_SECURE",'tls'); # 阿里云邮箱例子
define("PHPMAILERHOST",'smtp.qiye.aliyun.com');
$phpmailer_smtpuser = 'user@company.com';
$phpmailer_smtppassword = 'user_password';
define("PHPMAILERPORT",'465');
define("PHPMAILER_SECURE",'ssl');
Config

注意: 数据库配置后再次访问如仅显示logo,请确认php模块以及是否重启了web / php-fpm服务
注意: 加密发送的时候系统可能要确认根证书
根证书查看命令:php -r "print_r(openssl_get_cert_locations());"
[default_cert_file] => /etc/pki/tls/cert.pem Array
(
[default_cert_file] => /etc/pki/tls/cert.pem
[default_cert_file_env] => SSL_CERT_FILE
[default_cert_dir] => /etc/pki/tls/certs
[default_cert_dir_env] => SSL_CERT_DIR
[default_private_dir] => /etc/pki/tls/private
[default_default_cert_area] => /etc/pki/tls
[ini_cafile] =>
[ini_capath] =>
)
如果没有需要下载根证书后放在指定路径 /etc/pki/tls/cert.pem
根证书下载地址:https://curl.haxx.se/ca/cacert.pem
5.4 web界面初始化

choose Initialize database under the Config option

Click Initialise Database and fill out the form.
注意:这边的email地址必须和config配置文件中的地址相同,不同的话发不了邮件

Finally click to continue with phpList seutp.

You have now finished installation, and the next step is configuration.
PHPList 安装的更多相关文章
- docker——容器安装tomcat
写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...
- 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法
如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...
- Sublime Text3安装JsHint
介绍 Sublime Text3使用jshint依赖Nodejs,SublimeLinter和Sublimelinter-jshint. NodeJs的安装省略. 安装SublimeLinter Su ...
- Fabio 安装和简单使用
Fabio(Go 语言):https://github.com/eBay/fabio Fabio 是一个快速.现代.zero-conf 负载均衡 HTTP(S) 路由器,用于部署 Consul 管理的 ...
- gentoo 安装
加载完光驱后 1进行ping命令查看网络是否通畅 2设置硬盘的标识为GPT(主要用于64位且启动模式为UEFI,还有一个是MBR,主要用于32位且启动模式为bois) parted -a optima ...
- Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级
Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 5.安装Database软件 5. ...
- Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作
Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 1.实施前准备工作 1.1 服务器安装操 ...
- 【原】nodejs全局安装和本地安装的区别
来微信支付有2年多了,从2年前的互联网模式转变为O2O模式,主要的场景是跟线下的商户去打交道,不像以往的互联网模式,有产品经理提需求,我们帮忙去解决问题. 转型后是这样的,团队成员更多需要去寻找业务的 ...
- tLinux 2.2下安装Mono 4.8
Tlinux2.2发行版基于CentOS 7.2.1511研发而成,内核版本与Tlinux2.0发行版保持完全一致,更加稳定,并保持对Tlinux2.0的完全兼容.Mono 4版本要求CentOS 7 ...
随机推荐
- Windows核心编程 第三章 内核对象
第3章内核对象 在介绍Windows API的时候,首先要讲述内核对象以及它们的句柄.本章将要介绍一些比较抽象的概念,在此并不讨论某个特定内核对象的特性,相反只是介绍适用于所有内核对象的特性. 首先介 ...
- Git解决中文乱码问题
git status 乱码 解决方法: git config --global core.quotepath false git commit 乱码 解决方法: git config --global ...
- Redis泛泛而谈(详细2W字)
本文适合于刚接触redis的,文章内容比较基础,大佬请绕道. 一.NoSQL入门和概述 Ⅰ-入门概述 1.为什么用NoSQL 1)单机MySQL的美好年代 在90年代,一个网站的访问量一般都不大,用单 ...
- 如何用WINPE备份电脑系统;电脑备份 听语音
如何用WINPE备份电脑系统:电脑备份 听语音 原创 | 浏览:1046 | 更新:2017-09-30 15:09 1 2 3 4 5 6 7 分步阅读 备份系统已经成为一种常态,我们在安装完成系统 ...
- 单独跑ltp-20200508 ./runltp
# cat r3.sh#!/bin/bash # cat r3.sh#!/bin/bashi=1for ((; i<=1000; i++))do/opt/ltp/runltp -s fmtmsg ...
- Alien 魔法:RPM 和 DEB 互转
Alien 魔法:RPM 和 DEB 互转 作者: Gabriel Cánepa 译者: LCTT joeren | 2015-08-31 10:45 评论: 6 收藏: 10 正如我确信,你们一 ...
- CrystalDiskMark v7.0.0h中文版
CrystalDiskMark v7.0.0h中文版 发布时间:2020/03/05 05:03:09作者:zhongdong CrystalDiskMark是一个轻量级高效率检测工具,所有内容整齐的 ...
- Phoenix 使用教程
引言 hbase 提供很方便的 shell 脚本,可以对数据表进行 CURD 操作,但是毕竟是有一定的学习成本的,基本上对于开发来讲,sql 语句都是看家本领,那么,有没有一种方法可以把 sql 语句 ...
- S7 Linux用户管理及用户信息查询命令
7.1 useradd:创建用户 7.2-5 usermod 7.6 passwd:修改用户密码 7.7-9 chage.chpasswd.su 7.10-11 visudo.sudo 7.12-7. ...
- 1.3Linux 终端命令格式
Linux 终端命令格式 目标 了解终端命令格式 知道如何查阅终端命令帮助信息 01. 终端命令格式 bashcommand [-options] [parameter] 说明: command:命令 ...