Install Zabbix on CentOS 5.6

Jephe Wu -

  • 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] PHP Fatal error:  Call to undefined function bcscale() in /var/www/html/zabbix/include/ 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

or yum install php* --exclude=php53*

  • References

  1.  -   Installing Zabbix 1.4 on CentOS 5