From ce752e68eb9f49926e97e8f5a691731b4001ef9c Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Sat, 10 Dec 2016 08:16:20 -0800 Subject: [PATCH] Update PHP memcached example to properly compile again --- php/content.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php/content.md b/php/content.md index 5bdeb5280..3733b1dd7 100644 --- a/php/content.md +++ b/php/content.md @@ -100,9 +100,9 @@ Remember, you must install dependencies for your extensions manually. If an exte Some extensions are not provided with the PHP source, but are instead available through [PECL](https://pecl.php.net/). To install a PECL extension, use `pecl install` to download and compile it, then use `docker-php-ext-enable` to enable it: ```dockerfile -FROM php:7.0-fpm -RUN apt-get update && apt-get install -y libmemcached-dev \ - && pecl install memcached \ +FROM php:5.6-fpm +RUN apt-get update && apt-get install -y libmemcached-dev zlib1g-dev \ + && pecl install memcached-2.2.0 \ && docker-php-ext-enable memcached ```