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 { 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."; } if (!function_exists('json_encode')) { $piwik_errorMessage .= "
Piwik requires the php5-json extension which provides the functions json_encode()
and json_decode()
It appears your PHP has not yet installed the php5-json extension.
To use Piwik, please ask your web host to install php5-json or install it yourself, for example on debian system: sudo apt-get install php5-json
.
Then restart your webserver and refresh this page.
curl -sS https://getcomposer.org/installer | php \n\n php composer.phar install\n\n"; if (DIRECTORY_SEPARATOR === '\\' /* ::isWindows() */) { $composerInstall = "Download and run Composer-Setup.exe, it will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line. " . "
It appears the composer tool is not yet installed. You can install Composer in a few easy steps:\n\n".
"
" . $composerInstall.
" This will initialize composer for Piwik and download libraries we use in vendor/* directory.".
"\n\n
Then reload this page to access your analytics reports." .
"\n\n
For more information check out this FAQ: How do I use Piwik from the Git repository?." .
"\n\n
Note: if for some reasons you cannot install composer, instead install the latest Piwik release from ".
"builds.piwik.org.
' . $optionalTrace . ''; } $isCli = PHP_SAPI == 'cli'; if ($optionalLinks) { $optionalLinks = '
' . $message . '
'
. $optionalLinkBack
. 'Go to Piwik
Login'
. '