Compiling PHP for Zabbix 2.2 frontend

To compile PHP for Zabbix 2.2 frontend you will need to use the following keys:

[code]
./configure –enable-mbstring –enable-sockets –with-mysql –with-mysqli –with-ldap –enable-fpm –enable-bcmath –with-gettext –with-xmlrpc –with-openssl –with-mcrypt –with-gd –with-zlib –with-freetype-dir=/usr/include/freetype2 –with-jpeg-dir=/usr/lib
[/code]

PHP ini required values (minimal):

[code]
memory_limit = 128M
post_max_size = 16M
upload_max_filesize = 2M
max_execution_time = 300
max_input_time = 300
session.auto_start = 0
[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *