Ad Widget

Collapse

PHP Timezone Fail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Combusted
    Junior Member
    • Aug 2010
    • 4

    #1

    PHP Timezone Fail

    Hi all,

    I'm trying to setup a 1.8.2 Zabbix server on Ubuntu Server 10.04.

    I've got as far as the installation webGUI so far, but it's failing on

    PHP Timezone.


    I've edited the .ini to make it

    Code:
    ;date.timezone = Europe/London
    Which appears to be correct?

    I've already checked the following page to make sure it's the correct spacing/capitalization;


    and I've looked at this thread;


    Where they mentioned changing setup.inc.php
    However they are using 1.6, and it seems the
    Code:
    empty($tmezone),
    Is not in my setup.inc.php file, however I found a requirements.php file where empty($tmezone), was, but it already had a comma in like they suggested...

    Any ideas?...

    I've spent days on this so far... haha...
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Originally posted by Combusted
    I've edited the .ini to make it

    Code:
    ;date.timezone = Europe/London
    Which appears to be correct?
    If that's the only data.timezone statement in your file, it's commented out. In the php.ini files a semi-colon at the start of a line denotes a comment.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • Combusted
      Junior Member
      • Aug 2010
      • 4

      #3
      Really?

      God... that's awful of me...

      Thanks very much!! I'll try it out.

      Also, as for the

      PHP Database Support - Fail,

      Is there any common resolution for this?


      The strange thing being this said OK before I changed the values from 60 to 300 of the others...

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        Sounds like you may be missing some libraries. Perhaps the equivalant of php-<db of choice> (example: php-mysql) has not been installed. Often you need to install a few extra rpms on CentOS like php-gd, php-bc, php-mysql and so forth. Has a search of the forums not yielded any answers suitable for your situation?
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • Combusted
          Junior Member
          • Aug 2010
          • 4

          #5
          Hi, just thought I'd say this has now been resolved.

          I had to remove the semi-colon in front of the line.

          And for the PHP Database support, I had to apt-get install php5-mysql

          Thanks for the help!

          Comment

          Working...