Merge pull request #301 from zabbix/master

Fixed php-fpm7 on Alpine images
This commit is contained in:
Alexey Pustovalov
2018-05-11 23:22:13 +03:00
committed by GitHub
41 changed files with 102 additions and 28 deletions

View File

@ -811,6 +811,8 @@ prepare_zbx_web_config() {
PHP_CONFIG_FILE="/etc/php/7.0/fpm/conf.d/99-zabbix.ini"
elif [ -f "/etc/php.d/99-zabbix.ini" ]; then
PHP_CONFIG_FILE="/etc/php.d/99-zabbix.ini"
elif [ -f "/etc/php7/conf.d/99-zabbix.ini" ]; then
PHP_CONFIG_FILE="/etc/php7/conf.d/99-zabbix.ini"
fi
if [ -n "$PHP_CONFIG_FILE" ]; then