0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Xserver に Matomo(Piwik) をインストールする

Posted at

公式サイト

Matomo(Piwik) のクイックインストール
https://matomo.jp/tech/forpj/695

ダウンロード

最初にMatomo(Piwik)のサイト http://piwik.org/latest.zip から最新版のMatomo(Piwik)をダウンロードします。

インストール手順

アップロード、解凍してサーバーのディレクトリにアクセスします。

(1)システムチェック
(2)DB接続設定
(3)ユーザー登録
の順に行います。

(1)システムチェック
以下のエラーとなりました。
環境はXserver、PHP5.6です。

いくつかの重大な問題を防ぐためには、php.ini ファイルで以下を設定する必要があります: always_populate_raw_post_data=-1 

phperror.JPG

php.iniを変える方法もあったと思いますが、他のシステムも稼働しているので、
Xserverで別ドメインのディレクトリを作成し、PHP7.0にすることでエラーが解消しました。

(2)DB接続設定
ホスト名、ユーザー名、パスワード、データベース名を
間違えなければ大丈夫だと思います。
データベース名が最後なので間違えないように注意しましょう(間違えました)。

(3)ユーザー登録
特に問題ないと思います。

インストール完了

おめでとうございます
おめでとう.JPG

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?