Add Postgre SQL Support for php-fpm & edit webserver session storage location

This commit is contained in:
Geraint Dong 2017-09-25 17:30:30 +07:00
parent 5a073ae841
commit 3cc917c9de
6 changed files with 36 additions and 3 deletions

View File

@ -50,6 +50,17 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
docker-php-ext-install soap \ docker-php-ext-install soap \
;fi ;fi
#####################################
# pgsql
#####################################
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
# Install the pgsql extension
apt-get update -yqq && \
docker-php-ext-install pgsql \
;fi
##################################### #####################################
# xDebug: # xDebug:
##################################### #####################################

View File

@ -50,6 +50,17 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
docker-php-ext-install soap \ docker-php-ext-install soap \
;fi ;fi
#####################################
# pgsql
#####################################
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
# Install the pgsql extension
apt-get update -yqq && \
docker-php-ext-install pgsql \
;fi
##################################### #####################################
# xDebug: # xDebug:
##################################### #####################################

View File

@ -50,6 +50,17 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
docker-php-ext-install soap \ docker-php-ext-install soap \
;fi ;fi
#####################################
# pgsql
#####################################
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
# Install the pgsql extension
apt-get update -yqq && \
docker-php-ext-install pgsql \
;fi
##################################### #####################################
# xDebug: # xDebug:
##################################### #####################################

View File

@ -1442,7 +1442,7 @@ session.save_handler = files
; where MODE is the octal representation of the mode. Note that this ; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask. ; does not overwrite the process's umask.
; http://php.net/session.save-path ; http://php.net/session.save-path
;session.save_path = "/tmp" session.save_path = "/tmp"
; Whether to use strict session mode. ; Whether to use strict session mode.
; Strict session mode does not accept uninitialized session ID and regenerate ; Strict session mode does not accept uninitialized session ID and regenerate

View File

@ -1348,7 +1348,7 @@ session.save_handler = files
; where MODE is the octal representation of the mode. Note that this ; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask. ; does not overwrite the process's umask.
; http://php.net/session.save-path ; http://php.net/session.save-path
;session.save_path = "/tmp" session.save_path = "/tmp"
; Whether to use strict session mode. ; Whether to use strict session mode.
; Strict session mode does not accept uninitialized session ID and regenerate ; Strict session mode does not accept uninitialized session ID and regenerate

View File

@ -1348,7 +1348,7 @@ session.save_handler = files
; where MODE is the octal representation of the mode. Note that this ; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask. ; does not overwrite the process's umask.
; http://php.net/session.save-path ; http://php.net/session.save-path
;session.save_path = "/tmp" session.save_path = "/tmp"
; Whether to use strict session mode. ; Whether to use strict session mode.
; Strict session mode does not accept uninitialized session ID and regenerate ; Strict session mode does not accept uninitialized session ID and regenerate