When I installing 0.4.5
I have quite sure I enabled the pdo_mysql extension.
However, during the second step called systemcheck always prompts I did not enable it, can not continue.
I can see the version information of pdo_mysql in the phpinfo.
But no matter how, 0.4.5 installation of the systemcheck is always prompted "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:
I’m experiencing the exact same issue as well, and I can verify that both pdo and pdo_mysql is loaded with get_loaded_extensions(). Is there any place I can download 0.4.4 or 0.4.3 version? Thanks.
The problem is caused by Piwik’s globr function. When it escapes the search string, escapeshellcmd is removing the backslashes in the path strings of Windows systems, therefore the base path passed to glob is not correct. So it’s unable to find the *.php files under Db folder, causing the error in the installation. Will submit patch in a few minutes.
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: