fix used open_basedir
This commit is contained in:
parent
783761a725
commit
3d6712ef50
@ -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/ /
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user