ZABBIX Forums  
  #1  
Old 22-02-2008, 12:54
max max is offline
Member
 
Join Date: Jan 2008
Posts: 35
Default [Solved] 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 at 15:24.
Reply With Quote
  #2  
Old 22-02-2008, 13:59
Kees Jan Koster Kees Jan Koster is offline
Member
 
Join Date: Oct 2007
Posts: 79
Default

Any errors in Apache's loge file?
Reply With Quote
  #3  
Old 22-02-2008, 14:32
max max is offline
Member
 
Join Date: Jan 2008
Posts: 35
Default

Quote:
Originally Posted by Kees Jan Koster View Post
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... ?
Reply With Quote
  #4  
Old 22-02-2008, 15:02
xs- xs- is offline
Senior Member
 
Join Date: Dec 2007
Location: Netherlands
Posts: 385
Send a message via MSN to xs-
Default

Edit includes/copt.inc.php

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

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

php4 doesnt understand 'static function functioname();'
Reply With Quote
  #5  
Old 22-02-2008, 15:09
max max is offline
Member
 
Join Date: Jan 2008
Posts: 35
Default

Great, it works !

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:00.