Commit 5640bd96 authored by Mahmoud Zalt's avatar Mahmoud Zalt

Activating OpCache

Closes #307
parent 8bb69beb
......@@ -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
#
......@@ -144,4 +146,4 @@ WORKDIR /var/www/laravel
CMD ["php-fpm"]
EXPOSE 9000
\ No newline at end of file
EXPOSE 9000
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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment