Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d171f4

Browse filesBrowse files
committed
Use system wide memcached.so
1 parent 3cfb558 commit 8d171f4
Copy full SHA for 8d171f4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-25
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-25
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1-25Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ before_install:
156156
echo hhvm.jit = 0 >> $INI
157157
echo apc.enable_cli = 1 >> $INI
158158
echo extension = redis.so >> $INI
159+
echo extension = memcached.so >> $INI
159160
if [[ $PHP = 5.* ]]; then
160161
echo extension = memcache.so >> $INI
161162
echo extension = mongo.so >> $INI
@@ -187,31 +188,6 @@ before_install:
187188
tfold ext.apcu tpecl apcu-5.1.16 apcu.so $INI
188189
tfold ext.mongodb tpecl mongodb-1.6.0alpha1 mongodb.so $INI
189190
fi
190-
191-
if [[ $PHP == 7.3 ]]; then
192-
# System libmemcached is missing sasl
193-
LIBMEMCACHED_VERSION=1.0.18
194-
wget "https://launchpad.net/libmemcached/1.0/${LIBMEMCACHED_VERSION}/+download/libmemcached-${LIBMEMCACHED_VERSION}.tar.gz" -O libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
195-
tar xvfz libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
196-
cd "libmemcached-${LIBMEMCACHED_VERSION}"
197-
mkdir -p /opt/libmemcached/${LIBMEMCACHED_VERSION}
198-
./configure --prefix="/opt/libmemcached/${LIBMEMCACHED_VERSION}" LDFLAGS="-lpthread"
199-
make
200-
make install
201-
cd -
202-
203-
EXTMEMCACHED_VERSION=3.1.3
204-
wget https://pecl.php.net/get/memcached-${EXTMEMCACHED_VERSION}.tgz
205-
tar xzvf memcached-${EXTMEMCACHED_VERSION}.tgz
206-
cd memcached-${EXTMEMCACHED_VERSION}
207-
phpize
208-
./configure --with-libmemcached-dir=/opt/libmemcached/${LIBMEMCACHED_VERSION}
209-
make
210-
sudo make install
211-
cd -
212-
fi
213-
214-
echo extension = memcached.so >> $INI
215191
done
216192
217193
- |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.