0

I'm currently installing Zabbix on RedHat Enterprise Linux 7. I'm stuck at PHP configuration. Here you can see all PHP configurations required for Zabbix. Running cat /etc/httpd/conf.d/zabbix.conf I discovered all configurations are OK. But when I enter http://myServerIP/zabbix I get errors about PHP configurations not as required. As example, it says

Minimum required size of PHP post is 16M (configuration option "post_max_size").

But when I ran cat /etc/httpd/conf.d/zabbix.conf | grep 'post_max_size' I get 16M. Is there any visible step that I maybe skipped? I already restarted httpd service, so I don't know why this is not working

rado
  • 103
  • 1
  • 1
  • 6
  • `/etc/httpd/` only contains the apache configuration, not your php configuration. it is possible that your PHP configuration does not allow the values to be set in the apache config. – Gerald Schneider Nov 06 '17 at 11:51
  • I went to `/etc/php.ini` and found all the wrong values showed at `http://myServerIP/zabbix`. Could you state your comment as an answer to accept? Thanks a lot! – rado Nov 06 '17 at 12:53

1 Answers1

1

/etc/httpd/ only contains the Apache configuration, not your PHP configuration. it is possible that your PHP configuration does not allow the values to be set in the Apache config.

Check your /etc/php.ini and set your desired values there.

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89