Piwik Installation Problems and Solutions (to be continued)

Source: Internet
Author: User
Tags piwik

Installation environment: piwik0.5 php5.1.3 apache2.2 mysql5.1 (the installation environment except Apache should be the lowest configuration)

 

1. installation to Step 2: installation environment monitoring prompt Error

Piwik requires either the mysqli extension or both the PDO and pdo_mysql extensions.

On a Windows Server you can add the following lines to your php. ini:

Extension = php_mysqli.dll
Extension = php_pdo.dll
Extension = php_pdo_mysql.dll

More information on: PhP PDO and mysqli.

 

Solution:

First, check whether the three DLL files are loaded in PHP. ini. If not, test the intermediate statements to the corresponding location. After refreshing the page, you can continue to the next step. If the problem persists.Open piwik/CORE/piwik. php to find public static function glofunction globr ($ sdir, $ spattern, $ nflags = NULL)

$ Sdir = escapeshellcmd ($ sdir); Comment

 

2. install it in step 3: An error is prompted when you create a database connection.

Error while trying to connect to the database server:
No entry is registered for key 'db'

 

Solution: manually create an empty database, which must be consistent with the entered configuration information.

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.