Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add Memcached to 2.5 #49

Open
wants to merge 11 commits into
base: release/v2.5
Choose a base branch
from
Prev Previous commit
Next Next commit
Docker: Fix comment added to fpm/pool.d/www.conf
adriendupuis committed Mar 30, 2020
commit 9c4b28aeca72f632613405f3065d900444d4182c
2 changes: 1 addition & 1 deletion docker/apache/Dockerfile
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ RUN mkdir /run/php && touch /var/log/php7.3-fpm.log
RUN if [[ 'redis' == $session_save_handler ]]; then \
echo "\n; Redis as session handler\nphp_value[session.save_handler] = redis\nphp_value[session.save_path] = \"tcp://redis:6379\"" >> /etc/php/7.3/fpm/pool.d/www.conf; \
elif [[ 'memcached' == $session_save_handler ]]; then \
echo "\n; Redis as session handler\nphp_value[session.save_handler] = memcached\nphp_value[session.save_path] = \"tcp://memcached:11211\"" >> /etc/php/7.3/fpm/pool.d/www.conf; \
echo "\n; Memcached as session handler\nphp_value[session.save_handler] = memcached\nphp_value[session.save_path] = \"tcp://memcached:11211\"" >> /etc/php/7.3/fpm/pool.d/www.conf; \
fi;
# Apache: FastCGI Module & PHP-FPM Configuration
RUN a2enmod proxy_fcgi setenvif rewrite \