diff --git a/web-nginx-mysql/ubuntu/Dockerfile b/web-nginx-mysql/ubuntu/Dockerfile index 3119ab181..f9ceb4ea3 100644 --- a/web-nginx-mysql/ubuntu/Dockerfile +++ b/web-nginx-mysql/ubuntu/Dockerfile @@ -39,6 +39,8 @@ RUN DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CO ttf-dejavu-core 1>/dev/null && \ apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} clean && \ + mkdir -p /var/lib/php5 && \ + chown --quiet -R www-data:www-data /var/lib/php5 && \ rm -rf /var/lib/apt/lists/* ARG MAJOR_VERSION=master diff --git a/web-nginx-mysql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini b/web-nginx-mysql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini index 88543ad2b..2ceb8be41 100644 --- a/web-nginx-mysql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini +++ b/web-nginx-mysql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini @@ -5,4 +5,4 @@ upload_max_filesize=2M max_input_time=300 always_populate_raw_post_date=-1 ; date.timezone=Europe/Riga -; session.save_path=/var/lib/php5 +session.save_path=/var/lib/php5 diff --git a/web-nginx-pgsql/ubuntu/Dockerfile b/web-nginx-pgsql/ubuntu/Dockerfile index 42850d545..0055d6c5e 100644 --- a/web-nginx-pgsql/ubuntu/Dockerfile +++ b/web-nginx-pgsql/ubuntu/Dockerfile @@ -39,6 +39,8 @@ RUN DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CO ttf-dejavu-core 1>/dev/null && \ apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} clean && \ + mkdir -p /var/lib/php5 && \ + chown --quite -R www-data:www-data /var/lib/php5 && \ rm -rf /var/lib/apt/lists/* ARG MAJOR_VERSION=master diff --git a/web-nginx-pgsql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini b/web-nginx-pgsql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini index 88543ad2b..2ceb8be41 100644 --- a/web-nginx-pgsql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini +++ b/web-nginx-pgsql/ubuntu/conf/etc/php5/fpm/conf.d/99-zabbix.ini @@ -5,4 +5,4 @@ upload_max_filesize=2M max_input_time=300 always_populate_raw_post_date=-1 ; date.timezone=Europe/Riga -; session.save_path=/var/lib/php5 +session.save_path=/var/lib/php5