Fixed PHP-FPM pool config on Ubuntu (PostgreSQL)

This commit is contained in:
Alexey Pustovalov
2020-05-12 21:08:08 +03:00
parent 4989b854ac
commit fc84075c92
2 changed files with 299 additions and 1 deletions

View File

@ -235,7 +235,7 @@ prepare_zbx_web_config() {
ZBX_WEB_CONFIG="$ZABBIX_ETC_DIR/web/zabbix.conf.php"
PHP_CONFIG_FILE="/etc/php/7.2/apache2/conf.d/99-zabbix.ini"
PHP_CONFIG_FILE="/etc/php/7.2/fpm/pool.d/zabbix.conf"
update_config_var "$PHP_CONFIG_FILE" "php_value[max_execution_time]" "${ZBX_MAXEXECUTIONTIME:-"600"}"
update_config_var "$PHP_CONFIG_FILE" "php_value[memory_limit]" "${ZBX_MEMORYLIMIT:-"128M"}"