Hi All,
uname -a
Linux 3.11.0-18-generic #32~precise1-Ubuntu SMP Thu Feb 20 17:52:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I follow the manual:
Zabbix 2.2 for Ubuntu 12.04 LTS:
# wget http://repo.zabbix.com/zabbix/2.2/ub...recise_all.deb
# dpkg -i zabbix-release_2.2-1+precise_all.deb
# apt-get update
sudo apt-get install -f zabbix-frontend-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
zabbix-frontend-php is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up zabbix-frontend-php (1:2.2.2-1+precise) ...
Syntax error on line 13 of /etc/apache2/conf.d/zabbix:
Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing zabbix-frontend-php (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zabbix-frontend-php
E: Sub-process /usr/bin/dpkg returned an error code (1)
I had to change the /etc/apache2/conf.d/zabbix file:
# 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 date.timezone Europe/Riga
php -v
PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:14:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
It is strange because I had another box where there was no problem
uname -a
Linux 3.11.0-18-generic #32~precise1-Ubuntu SMP Thu Feb 20 17:52:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I follow the manual:
Zabbix 2.2 for Ubuntu 12.04 LTS:
# wget http://repo.zabbix.com/zabbix/2.2/ub...recise_all.deb
# dpkg -i zabbix-release_2.2-1+precise_all.deb
# apt-get update
sudo apt-get install -f zabbix-frontend-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
zabbix-frontend-php is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up zabbix-frontend-php (1:2.2.2-1+precise) ...
Syntax error on line 13 of /etc/apache2/conf.d/zabbix:
Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing zabbix-frontend-php (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zabbix-frontend-php
E: Sub-process /usr/bin/dpkg returned an error code (1)
I had to change the /etc/apache2/conf.d/zabbix file:
# 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 date.timezone Europe/Riga
php -v
PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:14:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
It is strange because I had another box where there was no problem

Comment