0; if ($minimumPhpInvalid) { $piwik_errorMessage .= "
To run Piwik you need at least PHP version $piwik_minimumPHPVersion
Unfortunately it seems your webserver is using PHP version $piwik_currentPHPVersion.
Please try to update your PHP version, Piwik is really worth it! Nowadays most web hosts support PHP $piwik_minimumPHPVersion.
Also see the FAQ: My Web host supports PHP4 by default. How can I enable PHP5?
"; } else { $piwik_zend_compatibility_mode = ini_get("zend.ze1_compatibility_mode"); if ($piwik_zend_compatibility_mode == 1) { $piwik_errorMessage .= "Piwik is not compatible with the directive zend.ze1_compatibility_mode = On
It seems your php.ini file has
zend.ze1_compatibility_mode = OnIt makes PHP5 behave like PHP4. If you want to use Piwik you need to set
zend.ze1_compatibility_mode = Offin your php.ini configuration file, and restart your web server. You may have to ask your system administrator."; } if (!class_exists('ArrayObject')) { $piwik_errorMessage .= "
Piwik and Zend Framework require the SPL extension
It appears your PHP was compiled with
--disable-spl. To enjoy Piwik, you need PHP compiled without that configure option."; } if (!extension_loaded('session')) { $piwik_errorMessage .= "
Piwik and Zend_Session require the session extension
It appears your PHP was compiled with
--disable-session. To enjoy Piwik, you need PHP compiled without that configure option."; } if (!function_exists('ini_set')) { $piwik_errorMessage .= "
Piwik and Zend_Session require the ini_set()
function
It appears your PHP has disabled this function. To enjoy Piwik, you need remove
ini_setfrom your
disable_functionsdirective in php.ini, and restart your webserver."; } $autoloadPath = '/vendor/autoload.php'; $autoloader = PIWIK_INCLUDE_PATH . $autoloadPath; if(!file_exists($autoloader)) { $piwik_errorMessage .= "
It appears the composer tool is not yet installed. You can install Composer in a few easy steps. In the piwik directory, run in the command line the following (eg. via ssh):
curl -sS https://getcomposer.org/installer | php". "\n php composer.phar install
This will download and install composer, and initialize composer for Piwik (eg. download the twig library in vendor/twig).
Then reload this page to access your analytics reports.
Note: if for some reasons you cannot execute this command, install the latest Piwik release from builds.piwik.org.
' . $optionalTrace . ''; } if ($optionalLinks) { $optionalLinks = '
' . $message . '
'
. $optionalLinkBack
. 'Go to Piwik
Login'
. '