日々の雑感

Xserverに phplist 3.6 インストール覚書

投稿日:

phplist-3.6.0.zipをダウンロード

(https://sourceforge.net/projects/phplist/files/phplist/からの最新バージョン)

config.phpを編集。

(ここから)

// 日本語に設定

$default_system_language = ‘ja’;

// データベースで作成するテーブル名のプレフィックス

$usertable_prefix = ‘phplist_’;

// phplistのルートディレクトリ

$pageroot = ‘/phplist/lists’;

// phpListの管理ルートディレクトリを設定

$adminpages = ‘/phplist/lists/admin’;

// what is your Mysql database server hostname

$database_host = ‘mysqlxxxxx.xserver.jp’;

// what is the name of the database we are using

$database_name = ‘phplistdb’;

// what user has access to this database

$database_user = ‘harvestmoon_wp7’;

// and what is the password to login to control the database

$database_password = ‘xxxxxxxx’;

// if you have an SMTP server, set it here. Otherwise it will use the normal php mail() function

//# if your SMTP server is called “smtp.mydomain.com” you enter this below like this:

//#

//#     define(“PHPMAILERHOST”,’smtp.mydomain.com’);

define(‘PHPMAILERHOST’, ‘svxxxxx.xserver.jp’);

// if TEST is set to 1 (not 0) it will not actually send ANY messages, but display what it would have sent

// this is here, to make sure you edited the config file and mails are not sent “accidentally”

// on unmanaged systems

define(‘TEST’, 0);

(ここまで)

Xserverのコンパネから、MySQL設定-MySQL追加で、harvestmoon_phplist という名のDBを追加。

同 コンパネ で、ユーザ追加で、harvestmoon_plst という名のユーザーを追加。

同 コンパネ で、 アクセス権未所有ユーザにharvestmoon_plstが現れたら、アクセス権所有ユーザに追加ボタンで追

Continueボタンを押し、画面を進めていけば、ダッシュボードに行く。

テスト送信で、はまる。

メッセージ送信画面で、必要な項目を埋めて、SendTestボタンをクリックしたら、failedというエラーが出る。

わからなくて、だいぶん時間を取られたが、

define(‘PHPMAILERHOST’, ”sv***.xserver.jp);

のようにしてたら、エラー(failed)がでて、難解やっても送信できなかったが、以下のようにブランクにしたら、すんなり送れた。

define(‘PHPMAILERHOST’, ”);

やれやれ・・・っと。

-日々の雑感

執筆者:

関連記事

no image

何で俺はおやじギャグに笑ってしまうのか

おやじギャグ、聞くのが好きだ。 いいおやじギャグを聞くと、一日得した気分。 しかし言うのは苦手、センスが無い。 何で俺は好きなのだろうか? チョット考えてみた。 おやじギャグは性質的に、きっと誰も傷つ …

no image

佐々木希VS板野友美

「ウィルコムをやめてイーモバイルの音声プランにしたらどうかと思うんだけど」 「イヤ。ただでさえ友達や親戚にウィルコムってマイナーに思われているのに、聞いたこともないイーモバイルって何それ? 反対」 「 …

no image

ゆーとりあ越中

元旦の夕方、親戚一同でゆーとりあ越中に一泊。 http://www.yu-toriaettyu.co.jp/ 清潔な館内、美味しい料理、いいお湯の風呂、部屋の窓から雪景色・・・贅沢な時間を過ごす。 ち …

no image

Willcom W-ZERO3 [es] でネットラジオ三昧

iPhoneを買うつもりだったが、「だれとでも定額」と「新ウィルコム定額プランS」の組合わせ2430円で全キャリア通話無料とパケット上限2800円にひかれて、結局しばらくウィルコム(W-ZERO3 [ …

no image

同感

最近つまらないのは、この人が述べている事を自分も感じているからかもしれない。 Zopeジャンキー日記 :すべてが手軽になってしまうと、何かが失われるような気もする http://mojix.org/2 …