fix used open_basedir

This commit is contained in:
Robert Kaussow 2019-07-22 08:57:51 +02:00
parent 783761a725
commit 3d6712ef50
2 changed files with 8 additions and 2 deletions

View File

@ -23,7 +23,13 @@ RUN apk --update add --virtual .build-deps tar curl && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
rm -rf /tmp/* && \
mkdir -p /var/lib/php/tmp_upload && \
mkdir -p /var/lib/php/soap_cache && \
mkdir -p /var/lib/php/session && \
chown -R nginx:nginx /var/lib/php/tmp_upload && \
chown -R nginx:nginx /var/lib/php/soap_cache && \
chown -R nginx:nginx /var/lib/php/session
ADD overlay/ /

View File

@ -21,7 +21,7 @@ serialize_precision = 17
open_basedir = "/var/www/app:/var/lib/php/tmp_upload:/var/lib/php/session:/var/lib/php/soap_cache"
disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, putenv, move_uploaded_file, mkdir, rmdir, chmod, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, putenv, move_uploaded_file, chmod, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
disable_classes =
;highlight.string = #DD0000