Fix for session path on Nginx + Ubuntu

This commit is contained in:
dotneft 2016-10-24 09:07:07 -07:00
parent 5b282a9939
commit 443d43f502
4 changed files with 6 additions and 2 deletions

View File

@ -39,6 +39,8 @@ RUN DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CO
ttf-dejavu-core 1>/dev/null && \ ttf-dejavu-core 1>/dev/null && \
apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} autoremove && \
apt-get ${APT_FLAGS_COMMON} clean && \ 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/* rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=master ARG MAJOR_VERSION=master

View File

@ -5,4 +5,4 @@ upload_max_filesize=2M
max_input_time=300 max_input_time=300
always_populate_raw_post_date=-1 always_populate_raw_post_date=-1
; date.timezone=Europe/Riga ; date.timezone=Europe/Riga
; session.save_path=/var/lib/php5 session.save_path=/var/lib/php5

View File

@ -39,6 +39,8 @@ RUN DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CO
ttf-dejavu-core 1>/dev/null && \ ttf-dejavu-core 1>/dev/null && \
apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} autoremove && \
apt-get ${APT_FLAGS_COMMON} clean && \ 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/* rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=master ARG MAJOR_VERSION=master

View File

@ -5,4 +5,4 @@ upload_max_filesize=2M
max_input_time=300 max_input_time=300
always_populate_raw_post_date=-1 always_populate_raw_post_date=-1
; date.timezone=Europe/Riga ; date.timezone=Europe/Riga
; session.save_path=/var/lib/php5 session.save_path=/var/lib/php5