10000 minor #30030 Use system wide memcached.so (tvlooy) · symfony/symfony@baceb18 · GitHub
[go: up one dir, main page]

Skip to content

Commit baceb18

Browse files
minor #30030 Use system wide memcached.so (tvlooy)
This PR was merged into the 3.4 branch. Discussion ---------- Use system wide memcached.so | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | WiP | License | MIT requested by #29624 (comment) let's see what travis is going to do with this ... Commits ------- 8d171f4 Use system wide memcached.so
2 parents 38d5528 + 8d171f4 commit baceb18

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.travis.yml

Lines 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