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 c839a4b

Browse filesBrowse files
Merge branch '3.4' into 4.2
* 3.4: Use system wide memcached.so
2 parents d44fba1 + baceb18 commit c839a4b
Copy full SHA for c839a4b

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
@@ -143,6 +143,7 @@ before_install:
143143
echo opcache.enable_cli = 1 >> $INI
144144
echo apc.enable_cli = 1 >> $INI
145145
echo extension = redis.so >> $INI
146+
echo extension = memcached.so >> $INI
146147
done
147148
148149
- |
@@ -162,31 +163,6 @@ before_install:
162163
tfold ext.igbinary tpecl igbinary-2.0.8 igbinary.so $INI
163164
tfold ext.zookeeper tpecl zookeeper-0.6.0 zookeeper.so $INI
164165
165-
if [[ $PHP == 7.3 ]]; then
166-
# System libmemcached is missing sasl
167-
LIBMEMCACHED_VERSION=1.0.18
168-
wget "https://launchpad.net/libmemcached/1.0/${LIBMEMCACHED_VERSION}/+download/libmemcached-${LIBMEMCACHED_VERSION}.tar.gz" -O libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
169-
tar xvfz libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
170-
cd "libmemcached-${LIBMEMCACHED_VERSION}"
171-
mkdir -p /opt/libmemcached/${LIBMEMCACHED_VERSION}
172-
./configure --prefix="/opt/libmemcached/${LIBMEMCACHED_VERSION}" LDFLAGS="-lpthread"
173-
make
174-
make install
175-
cd -
176-
177-
EXTMEMCACHED_VERSION=3.1.3
178-
wget https://pecl.php.net/get/memcached-${EXTMEMCACHED_VERSION}.tgz
179-
tar xzvf memcached-${EXTMEMCACHED_VERSION}.tgz
180-
cd memcached-${EXTMEMCACHED_VERSION}
181-
phpize
182-
./configure --with-libmemcached-dir=/opt/libmemcached/${LIBMEMCACHED_VERSION}
183-
make
184-
sudo make install
185-
cd -
186-
fi
187-
188-
echo extension = memcached.so >> $INI
189-
190166
if [[ $PHP != 7.3 ]]; then
191167
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq-dev_0.5.2-2_amd64.deb
192168
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq1_0.5.2-2_amd64.deb

0 commit comments

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