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.