Ad Widget

Collapse

Blank web install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • max
    Member
    • Jan 2008
    • 36

    #1

    Blank web install

    Hello,

    I've installed Zabbix 1.4.4 (server side) on RHEL4 with Oracle database. I've followed the steps in the manuel (see 3.4.3).

    I already have an Apache (with PHP 4.3.9) running under root on which I have configured the httpd.conf adding :
    Code:
    Alias /zabbix/ "/path/to/install/folder/frontends/php"
    But when I try to access http://localhost/zabbix/ I've got a blank page.
    I tryed to add a page "phpinfo.php" in the php in frontends/php and it works when I test http://localhost/zabbix/phpinfo.php so it doesn't seem apache to be guilty of that.

    Did I missed something during the zabbix install ?

    ...need help...
    Last edited by max; 22-02-2008, 16:24.
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #2
    Any errors in Apache's loge file?

    Comment

    • max
      Member
      • Jan 2008
      • 36

      #3
      Originally posted by Kees Jan Koster
      Any errors in Apache's loge file?
      PHP Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /u02/zabbix/web/include/copt.lib.php on line 112

      Is it a problem with PHP version : maybe PHP5 is requiered... ?

      Comment

      • xs-
        Senior Member
        Zabbix Certified Specialist
        • Dec 2007
        • 393

        #4
        Edit includes/copt.inc.php

        Search for all occurances of 'static function' and remove 'static'.

        For example:
        Change
        /* protected */ static function getmicrotime() {
        To
        /* protected */ function getmicrotime() {
        There are several of these, so get them all.

        php4 doesnt understand 'static function functioname();'

        Comment

        • max
          Member
          • Jan 2008
          • 36

          #5
          Great, it works !

          Thank you xs- and Kees Jan Koster !
          Fast answers besides

          Comment

          Working...