Hi
I am trying to teach myself how to use Zabbix, I volunteer with a Computers for School organization and I did work for a WISP that used Zabbix before they closed the office I was in.
I have having problems getting Zabbix setup, when I access web interface I am getting errors. I have modified /etc/zabbix/apache.conf to the setting it should be, restarted apache service and also restarted computer with no change. I also tried commenting out all the deny all.
Not sure what I am missing and not able to find a solution to my problem.
Thank you for any help
Doug
Minimum required size of PHP post is 16M (configuration option "post_max_size").
Minimum required limit on execution time of PHP scripts is 300 (configuration option "max_execution_time").
Minimum required limit on input parse time for PHP scripts is 300 (configuration option "max_input_time").
Time zone for PHP is not set (configuration parameter "date.timezone").
At least one of MySQL, PostgreSQL, Oracle, SQLite3 or IBM DB2 should be supported.
PHP bcmath extension missing (PHP configuration parameter --enable-bcmath).
PHP mbstring extension missing (PHP configuration parameter --enable-mbstring).
PHP gd extension missing (PHP configuration parameter --with-gd).
PHP gd PNG image support missing.
PHP gd JPEG image support missing.
PHP gd FreeType support missing.
PHP xmlwriter extension missing.
PHP xmlreader extension missing.
PHP version 7.0.22-0ubuntu0.16.04.1 5.4.0 OK
PHP option "memory_limit" 128M 128M OK
PHP option "post_max_size" 8M 16M Fail
PHP option "upload_max_filesize" 2M 2M OK
PHP option "max_execution_time" 30 300 Fail
PHP option "max_input_time" 60 300 Fail
PHP option "date.timezone" unknown Fail
PHP databases support off Fail
PHP bcmath off Fail
PHP mbstring off Fail
PHP sockets on OK
PHP gd unknown 2.0 Fail
PHP gd PNG support off Fail
PHP gd JPEG support off Fail
PHP gd FreeType support off Fail
PHP libxml 2.9.3 2.6.15 OK
PHP xmlwriter off Fail
PHP xmlreader off Fail
PHP LDAP off Warning
PHP ctype on OK
PHP session on OK
PHP option "session.auto_start" off off OK
PHP gettext on OK
PHP option "arg_separator.output" & & OK
cfs@zabbix:/etc/zabbix$ cat apache.conf
# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
<Directory "/usr/share/zabbix">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_php5.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
# php_value date.timezone Europe/Riga
php_value date.timezone America/Chicago
</IfModule>
<IfModule mod_php7.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
# php_value date.timezone Europe/Riga
php_value date.timezone America/Chicago
</IfModule>
</Directory>
<Directory "/usr/share/zabbix/conf">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/app">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/include">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/local">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
cfs@zabbix:/etc/zabbix$
I am trying to teach myself how to use Zabbix, I volunteer with a Computers for School organization and I did work for a WISP that used Zabbix before they closed the office I was in.
I have having problems getting Zabbix setup, when I access web interface I am getting errors. I have modified /etc/zabbix/apache.conf to the setting it should be, restarted apache service and also restarted computer with no change. I also tried commenting out all the deny all.
Not sure what I am missing and not able to find a solution to my problem.
Thank you for any help
Doug
Minimum required size of PHP post is 16M (configuration option "post_max_size").
Minimum required limit on execution time of PHP scripts is 300 (configuration option "max_execution_time").
Minimum required limit on input parse time for PHP scripts is 300 (configuration option "max_input_time").
Time zone for PHP is not set (configuration parameter "date.timezone").
At least one of MySQL, PostgreSQL, Oracle, SQLite3 or IBM DB2 should be supported.
PHP bcmath extension missing (PHP configuration parameter --enable-bcmath).
PHP mbstring extension missing (PHP configuration parameter --enable-mbstring).
PHP gd extension missing (PHP configuration parameter --with-gd).
PHP gd PNG image support missing.
PHP gd JPEG image support missing.
PHP gd FreeType support missing.
PHP xmlwriter extension missing.
PHP xmlreader extension missing.
PHP version 7.0.22-0ubuntu0.16.04.1 5.4.0 OK
PHP option "memory_limit" 128M 128M OK
PHP option "post_max_size" 8M 16M Fail
PHP option "upload_max_filesize" 2M 2M OK
PHP option "max_execution_time" 30 300 Fail
PHP option "max_input_time" 60 300 Fail
PHP option "date.timezone" unknown Fail
PHP databases support off Fail
PHP bcmath off Fail
PHP mbstring off Fail
PHP sockets on OK
PHP gd unknown 2.0 Fail
PHP gd PNG support off Fail
PHP gd JPEG support off Fail
PHP gd FreeType support off Fail
PHP libxml 2.9.3 2.6.15 OK
PHP xmlwriter off Fail
PHP xmlreader off Fail
PHP LDAP off Warning
PHP ctype on OK
PHP session on OK
PHP option "session.auto_start" off off OK
PHP gettext on OK
PHP option "arg_separator.output" & & OK
cfs@zabbix:/etc/zabbix$ cat apache.conf
# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
<Directory "/usr/share/zabbix">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_php5.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
# php_value date.timezone Europe/Riga
php_value date.timezone America/Chicago
</IfModule>
<IfModule mod_php7.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
# php_value date.timezone Europe/Riga
php_value date.timezone America/Chicago
</IfModule>
</Directory>
<Directory "/usr/share/zabbix/conf">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/app">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/include">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
<Directory "/usr/share/zabbix/local">
Order deny,allow
Deny from all
<files *.php>
Order deny,allow
Deny from all
</files>
</Directory>
cfs@zabbix:/etc/zabbix$
Comment