parent
8bb69beb84
commit
5640bd963d
@ -114,6 +114,9 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
||||
docker-php-ext-enable opcache \
|
||||
;fi
|
||||
|
||||
# Copy opcache configration
|
||||
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
# Final Touch
|
||||
|
@ -125,6 +125,8 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
||||
docker-php-ext-enable opcache \
|
||||
;fi
|
||||
|
||||
# Copy opcache configration
|
||||
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
|
||||
|
||||
|
||||
#
|
||||
|
7
php-fpm/opcache.ini
Normal file
7
php-fpm/opcache.ini
Normal file
@ -0,0 +1,7 @@
|
||||
extension=opcache.so
|
||||
opcache.enable="1"
|
||||
opcache.memory_consumption="256"
|
||||
opcache.use_cwd="0"
|
||||
opcache.fast_shutdown="1"
|
||||
opcache.max_file_size="0"
|
||||
opcache.validate_timestamps="0"
|
Loading…
Reference in New Issue
Block a user