Ad Widget

Collapse

zabbix setup prerequisites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • warmup
    Junior Member
    • Oct 2016
    • 2

    #1

    zabbix setup prerequisites

    Hello,
    I'm trying to install zabbix on debian8 / Apache 2.4.10 / php 5.6.27-0+deb8u1

    when I load the setup.php page I've got :

    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 -1 300 Fail
    PHP time zone unknown Fail

    the php.ini in /etc/php5/apache2/php.ini has got the good parameters that are requiered but it seems their are not taken in account. I stopped /reload apache, restart server, emptied browser cache, and checked other php.ini files on my server, but no way the setup web page with prerequisites that are still their instead of the fact that I modify the needed parameters in /etc/php5/apache2/php.ini.

    Can you help ?

    Thank you

    Olivier
  • SBO
    Zabbix Certified Specialist
    Zabbix Certified Specialist
    • Sep 2015
    • 226

    #2
    Is there any /etc/php/php.ini or /etc/php.ini file ?

    EDIT : to check which php.ini file is used, create a .php file with <?php phpinfo(); ?> in it, browse it and look for Loaded configuration file, that should give you the right php.ini file to modify
    Last edited by SBO; 31-10-2016, 10:52.

    Comment

    • warmup
      Junior Member
      • Oct 2016
      • 2

      #3
      Hello SBO, no there is no any /etc/php.ini

      I created a .php with <?php phpinfo(); ?>. it gives : Loaded Configuration File /etc/php5/apache2/php.ini


      but the file contains good parameters :
      cat /etc/php5/apache2/php.ini | grep post_max_size
      post_max_size = 16M

      Comment

      Working...