PHP List インストール方法

lists/config/config.phpの書き換え
データベース情報とドメイン情報の書き換えが必要です。また、送信用メールの設定も合わせて行います。
25行目~35行目までのデータベース情報を書き換えます。
# what is your Mysql database server

$database_host = “mysql***.db.sakura.ne.jp”;

# what is the name of the database we are using

$database_name = “*****”;

# who do we log in as?

$database_user = “****”;

# and what password do we use

$database_password = ‘****’;

49行目~53行目までのドメイン以下のディレクトリ情報の書き換えをします。
※listsというフォルダをそのまま使って、トップドメインのすぐ下にフォルダを設置した場合は変更不要ですが、フォルダの階層やフォルダ名を変更したい場合はここを書き換える必要があります。
# if you change the path to the PHPlist system, make the change here as well

# path should be relative to the root directory of your webserver (document root)

# you cannot actually change the “admin”, but you can change the “lists”

$pageroot = ‘/****’;

$adminpages = ‘/****/admin’;

75行目~88行目までのバウンスメール関連情報を書き換えます。
# Handling bounces. Check README.bounces for more info

# This can be ‘pop’ or ‘mbox’

$bounce_protocol = ‘pop’;

# set this to 0, if you set up a cron to download bounces regularly by using the

# commandline option. If this is 0, users cannot run the page from the web

# frontend. Read README.commandline to find out how to set it up on the

# commandline

define (“MANUALLY_PROCESS_BOUNCES”,1);

# when the protocol is pop, specify these three

$bounce_mailbox_host = ‘*****’;

$bounce_mailbox_user = ‘*****’;

$bounce_mailbox_password = ‘*****’;
lists/.htaccessの書き換え
ほとんどのレンタルサーバーの場合は12行目のphp設定は触れない事が多いと思いますので、#をつけてコメントアウト(無効化)します。
#php_flag magic_quotes_gpc on

Copyright © All Rights Reserved · Green Hope Theme by Sivan & schiy · Proudly powered by WordPress