Skip to content

Commit

Permalink
Merge pull request #472 from Scalingo/fix/471/memcached-3.3.0
Browse files Browse the repository at this point in the history
fix(memcached): release of memcached extension 3.3.0
  • Loading branch information
Frzk authored Oct 23, 2024
2 parents 1efb2b4 + ab61211 commit afa52fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions conf/buildpack.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ zip_version="1.5.2"
sodium_php72_php73_version="1.0.7"

libmemcached_version="1.0.18"
memcached_version="3.3.0"
gmp_version="6.2.1"
tidy_version="5.8.0"
sodium_version="1.0.20"
Expand Down
13 changes: 6 additions & 7 deletions support/ext/memcached
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ if [ -n "$DEBUG" ]; then
set -x
fi

# https://github.com/php-memcached-dev/php-memcached/releases
php_memcached_version=3.2.0
# $memcached_version, $libmemcached_version, $PREFIX and $EXT_DIR are loaded from buildpack.conf
source "/buildpack/conf/buildpack.conf"

curl -L "https://github.com/php-memcached-dev/php-memcached/archive/v${php_memcached_version}.tar.gz" \
| tar xzv
curl --location "https://github.com/php-memcached-dev/php-memcached/archive/v${memcached_version}.tar.gz" \
| tar --extract --gzip --verbose

source "/buildpack/conf/buildpack.conf"
mkdir -p /app/vendor/libmemcached
curl "${PHP_BASE_URL}/package/libmemcached-${libmemcached_version}.tgz" \
| tar xzv -C /app/vendor/libmemcached
| tar --extract --gzip --verbose --directory=/app/vendor/libmemcached

cd php-memcached-${php_memcached_version}
cd php-memcached-${memcached_version}
/app/vendor/php/bin/phpize
./configure --with-php-config=/app/vendor/php/bin/php-config \
--disable-memcached-sasl \
Expand Down

0 comments on commit afa52fe

Please sign in to comment.