docker-nginx-php-mysql icon indicating copy to clipboard operation
docker-nginx-php-mysql copied to clipboard

I can't install memcached

Open adrian-d-hidalgo opened this issue 7 years ago • 4 comments
trafficstars

I'm traying to integrate memcached to php container witouth success.

My commands are:

apt install memcached -y service memcached start apt install php5-memcached -y

Regards!

adrian-d-hidalgo avatar Feb 14 '18 19:02 adrian-d-hidalgo

Hi @AiusDa,

Memcached has been installed: PHP-FPM 7 only for the moment.

sudo docker pull nanoninja/php-fpm

nanoninja avatar Feb 16 '18 17:02 nanoninja

Thank you for your response, but for my current project we are using cake 2 and is not compatible with php 7 :(

adrian-d-hidalgo avatar Mar 01 '18 18:03 adrian-d-hidalgo

@AiusDa So, you don't use nanoninja/php-fpm. Why don't you search for a docker image with php5 + memcached? Anyway, this issue do not belong to here.

Jehong-Ahn avatar Apr 07 '18 17:04 Jehong-Ahn

Thanks @Jehong-Ahn

@AiusDa The advantage of this configuration is that it is easy to change the PHP image and choose or build the one that best suits your projects.

nanoninja avatar Sep 24 '20 12:09 nanoninja