Compiling PHP for Zabbix 2.2 frontend

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

./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 

PHP ini required values (minimal):

 memory_limit = 128M
 post_max_size = 16M
 upload_max_filesize = 2M
 max_execution_time = 300
 max_input_time = 300
 session.auto_start = 0

Leave a Reply

Your email address will not be published.