Wednesday, June 15, 2011

Install Zabbix on CentOS 5.6

Jephe Wu - http://linuxtechres.blogspot.com

  • PHP and Zabbix
CentOS 5.6, after installing zabbix server, try to access http://localhost/zabbix/queue.php, it displays empty page, httpd error log shows
[Wed Jun 15 11:08:14 2011] [error] [client 192.168.1.3] PHP Fatal error:  Call to undefined function bcscale() in /var/www/html/zabbix/include/defines.inc.php on line 794

Solution: yum install bcmath
  • Check of pre-requisites
When accessing http://localhost/zabbix/queue.php, we have to pass all the checking as follows:
vi /etc/php.ini to change:
timezone = Australia/Sydney
post_max_size = 32M
upload_max_filesize = 2M
max_execution_time = 600  
max_input_time = 600 

yum install php-mbstring
yum install php-gd
  • PHP and PHP53
When you use yum to install php* , you can exclude php53* as follows:

vi /etc/yum.conf to add
exclude=php53*

or yum install php* --exclude=php53*


  • References
  1. http://www.muck.net/?p=16  -   Installing Zabbix 1.4 on CentOS 5

2 comments:

Anonymous said...

Ur Tutorial is not working so kindly provide the right tutorial....

Jephe Wu said...

Could you please tell me which part is not working? What's the problem you have encountered? Thanks

Jephe