Piwik installation error


#1

hai ,

i am using php version -> PHP 5.3.6
apache 2

piwik tell error :

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

On a Linux server you can compile php with the following options:

–with-mysqli

–with-pdo-mysql

In your php.ini, add the following lines:

extension=mysqli.so

extension=pdo.so

extension=pdo_mysql.so

maybe you can help me
thanks.


(Thomas Seifert) #2

Well, its telling you everything needed. Seems like you don’t have one of the supported mysql extensions installed with your php. If you are in a hosted environment, give your host a call with that information. If you host the server on your own, install the extensions. If its some linux distribution you can most often just install some php-mysqli package or similar.


#3

Tell any one php-mysqli package link, then how to configure php.

Thanks.


#4

Hai Thomas Seifert ,

pls find the attachement for piwik error screen shot page.

help any useful link give to me .

thanks.


(vipsoft) #5

apt-get install php-mysqli


(Thomas Seifert) #6

[quote=Anthon]
apt-get install php-mysqli[/quote]

If he’s using a debian(-ish) system :wink:


#7

Hey Rajesh Thanks for sharing.I was facing the problem too.


(vipsoft) #8

Quite right. Try:

yum install php-mysqli