I have to configure PIWIK for web analytics. I am configuring it on localhost so that I can understand it before finaly deployment. My OS is centos 7. During installation, I am facing following error in apache webserver (httpd)
[Mon Nov 23 16:45:54.946214 2015] [:error] [pid 16750] [client ::1:38222] PHP Fatal error: Uncaught exception 'Exception' with message 'The configuration file {
/var/www/html/analytics/piwik/config/config.ini.php
} has not been found or could not be read.' in /var/www/html/analytics/piwik/core/Application/Kernel/EnvironmentValidator.php:64 Stack trace:#0 /var/www/html/analytics/piwik/core/Application/Kernel/EnvironmentValidator.php(45): Piwik\Application\Kernel\EnvironmentValidator->checkConfigFileExists('/var/www/html/a...', false)
#1 /var/www/html/analytics/piwik/core/Application/Environment.php(185): Piwik\Application\Kernel\EnvironmentValidator->validate()
#2 /var/www/html/analytics/piwik/core/Application/Environment.php(94): Piwik\Application\Environment->validateEnvironment()
#3 /var/www/html/analytics/piwik/piwik.php(56): Piwik\Application\Environment->init()\n#4 {main}\n thrown in /var/www/html/analytics/piwik/core/Application/Kernel/EnvironmentValidator.php on line 64, referer: http://localhost/analytics/piwik
A warning is show that tracker status 500 is also shown. What is the problem and with my installation. I have changed permission of config/
and tmp/
to 777 also.
config.ini.php
exist? Providels -lh config/
output – hjpotter92 Nov 23 '15 at 12:25