* use separate php tmp dir
This commit is contained in:
@ -36,7 +36,8 @@ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
|
||||
# Permission denied on /tmp folder:
|
||||
###########################################################################
|
||||
|
||||
RUN chmod 1777 /tmp
|
||||
RUN mkdir /php-tmp && chmod 777 -R /php-tmp && chmod o+t -R /php-tmp
|
||||
RUN sed -i "s/^;upload_tmp_dir =.*/upload_tmp_dir = \/php-tmp/g" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
###########################################################################
|
||||
# Tune opts:
|
||||
|
Reference in New Issue
Block a user