Skip to content

Php7 #209

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

Merged
merged 16 commits into from
Jan 20, 2016
Prev Previous commit
Next Next commit
Should fix sasl
  • Loading branch information
mkoppanen committed Jan 18, 2016
commit 238a403ea87036c18982dfcb1d7d3fea26cb367b
7 changes: 4 additions & 3 deletions .travis/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function install_msgpack() {
}

function install_memcached() {
local prefix="${HOME}/cache/memcached-${MEMCACHED_VERSION}"
local prefix="${HOME}/cache/memcached-sasl-${MEMCACHED_VERSION}"

if test -d "$prefix"
then
Expand All @@ -100,7 +100,7 @@ function install_memcached() {
tar xfz memcached-${MEMCACHED_VERSION}.tar.gz

pushd memcached-${MEMCACHED_VERSION}
./configure --enable-sasl --prefix="${prefix}"
./configure --enable-sasl --enable-sasl-pwdb --prefix="${prefix}"
make
make install
popd
Expand Down Expand Up @@ -137,7 +137,8 @@ function run_memcached() {
"${prefix}/bin/memcached" -d -p 11211

# Run memcached on port 11212 with SASL support
MEMCACHED_SASL_PWDB="${SASL_CONF_PATH}/sasldb2" "${prefix}/bin/memcached" -S -d -p 11212
export MEMCACHED_SASL_PWDB="${SASL_CONF_PATH}/sasldb2"
"${prefix}/bin/memcached" -S -d -p 11212
}

function build_php_memcached() {
Expand Down