Installation of Icinga2 Monitoring Tools on Ubuntu 14.04

I am not able to complete my installation. I am getting the Error "The PHP config `date.timezone' is not defined."

I did the changes on /etc/php5/apache2/php.ini

date.timezone = Asia/Kolkata

After the changes i restart my webServer apache also. service apache2 restart

Still i am facing the same issue when i am launching enter image description herehttp://localhost/icingaweb2/setup

  • You maybe have to change it in /usr/share/icinga-web/pub/index.php. – Thomas Jul 30 '17 at 9:23
  • have you removed the ; at the beginning of the line? That one got me – InvadGir Jul 25 '18 at 13:35
  • @VikeeKumar is your Question answered? – eli Dec 9 '19 at 10:02

I think the timezone has to be placed in (single)quotes, like:

date.timezone = 'Asia/Kolkata'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.