Piwik Flow Statistics System construction (APACHE2.4+PIWIK+MYSQL5.6+PHP5.6.14)

Source: Internet
Author: User
Tags php and mysql piwik

Piwik: Open source web statistics software

Piwik is a PHP and MySQL open source web statistics software. It gives you some useful statistical reports about your website, such as the number of visitors, the most visited pages, search engine keywords and so on. Piwik has a number of different features of the plug-in, you can add new features or remove the features you do not need, Piwik can also be installed on your server, the data will be stored on your own server . You can easily insert statistical charts into your blog or website or in the background Control Panel. Once the installation is complete, you can simply put a small piece of code in the page that will be counted.

Environment preparation

    • Environment: Win7 32. (64-bit equivalent, download the relevant software must be the corresponding 64-bit version)
    • JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html
    • VC11 (Vsu_4\vcredist_x86.exe) http://www.microsoft.com/en-us/download/details.aspx?id=30679
    • PHP5.6.14 (Php-5.5.15-win32-vc11-x86.zip) http://windows.php.net/download/
    • Apache2.4 (Httpd-2.4.10-win32-vc11.zip) http://www.apachelounge.com/download/VC11/
    • MySQL5.6.20 (Mysql-5.6.20-win32.zip) http://dev.mysql.com/downloads/installer/

Environment installation

PHP installation http://jingyan.baidu.com/article/154b46315242b328ca8f4101.html

Piwik installation http://blog.piwik.la/docs/piwik-installation-upgrade/

I'm not going to write it in detail.

In accordance with the above two articles, I installed after the environment as follows:

Apache environment configuration, see Installation display column

Piwik Compressed Package Decompression file path, specifically see httpd.conf How to configure

Note the point:

Environment variable path:;D: \phptools\php\;D: \phptools\php\ext;%catalina_home%\bin;%java_home%\bin;%java_home%\jre\bin; C:\Program files\mysql\mysql Server 5.6\bin;

JDK-related environment variables

After configuring all the environments, when installing Piwik, enter in the browser: http://10.58.8.229/piwik/, go to the installation page

When you install Piwik, you may experience

Need to modify and restart the Apache service

Follow the next step, configure MySQL >> create an Administrator account ( This is important, which involves logging in later ) >> create a test station point, and the entire installation process is complete.

Test data

Landing

Add a test Site

Embed statistical code into a Web site

After embedding, browse the relevant page, enter Piwik after you can see the detailed browsing data, notice the date of viewing

Go to MySQL to view data

The source of the Buddhist monk: http://www.cnblogs.com/woxpp/p/4895447.html This copyright belongs to the author and the blog Park is shared, welcome reprint, but without the author's consent must retain this paragraph, and in the article page obvious location to the original link.

Piwik Flow Statistics System construction (APACHE2.4+PIWIK+MYSQL5.6+PHP5.6.14)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.