Skip to content

Commit

Permalink
Merge pull request #4 from bandsintown/memcache
Browse files Browse the repository at this point in the history
Include the memcache extension
  • Loading branch information
Maria Soto committed Jan 11, 2018
2 parents 759d42e + 0a7ab08 commit a0d23bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rootfs/etc/php-config/php-default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ error_prepend_string = ''
; String to output after an error message.
error_append_string = ''
; Log errors to specified file.
error_log = /var/log/httpd/php-error.log
error_log = /var/log/php-error.log
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
;;;;;;;;;;;;;;;;;
Expand Down
4 changes: 3 additions & 1 deletion versions/5.6-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ RUN apk update && apk upgrade \
libltdl \
libmcrypt-dev \
libpng-dev \
curl wget bash tree jq bind-tools su-exec \
curl wget bash tree jq bind-tools su-exec build-base gcc autoconf \
libmemcached-libs zlib \
&& set -xe \
&& apk add --virtual .phpize-deps $PHPIZE_DEPS \
&& apk add --virtual .memcached-deps $MEMCACHED_DEPS \
&& pecl install memcached-2.2.0 \
&& echo "extension=memcached.so" > /usr/local/etc/php/conf.d/20_memcached.ini \
&& pecl install memcache \
&& echo "extension=memcache.so" > /usr/local/etc/php/conf.d/21_memcache.ini \
&& docker-php-ext-install mysqli \
&& docker-php-ext-install -j$(nproc) iconv mcrypt \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
Expand Down

0 comments on commit a0d23bc

Please sign in to comment.