At step 2 of the installation, System Check reports that the PDO Extension is installed (green check mark) and then reports that “Piwik requires either the mysqli extension or both the PDO and pdo_mysql extensions.” All other system checks appear to pass.
PHP 5.2.12 is compiled with ‘–with-mysqli=/usr/bin/mysql_config’ and ‘–with-pdo-mysql=/usr’. I am trying to install Piwik on a current gentoo (x86) server. It passes the simple test suggested by vipsoft.
Yes, I have both files. Piwik 0.5.5 is extracted to /piwik.
I do not have mysqli.so, pdo.so. or pdo_mysql.so anywhere on the system. So I am not able to set the recommended lines in php.ini. Do I need those files or are the extensions provided in another way?
glob() exists and is callable, but returns empty arrays when called through apache. glob() works properly when called from command line using the same php.ini, either as root or as apache user.
I’m using PHP version 5.2.12, which is supposed to support glob(). PHP safe mode is not enabled. phpinfo() does not report any disabled functions. I don’t know PHP internals to debug further. I will test with PHP 5.2.13. The gentoo USE flags (compile-time options, essentially) related to dev-lang/php do not seem to be relevant. http:// overlays.gentoo.org/proj/php/wiki/NewUseFlags (the forum config prevents linking to external sites so remove the space).