From 4e9e5a3e51ebed876b1d7856feb1e4dd3b030032 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 13 Aug 2016 12:30:05 +0200 Subject: [PATCH] seems ext_dir is set wrong in new Travis images for PHP 5.4 (it is set to 5.6 path) --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9b3eefd93..794a3c147b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,12 +30,14 @@ before_script: - case $(phpenv version-name) in "5.4") php -m; + pecl config-show; + pecl config-set ext_dir ~/.phpenv/versions/$(phpenv version-name)/lib/php/extensions/no-debug-zts-20121212; yes "" | pecl install memcache; yes "" | pecl install apcu-4.0.11; phpenv config-add apcu; yes "" | pecl install igbinary; phpenv config-add igbinary.so; - phpenv config-add memcached.so; + echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; phpenv config-rm xdebug.ini; php -m; ;; @@ -43,12 +45,12 @@ before_script: yes "" | pecl install memcache; yes "" | pecl install apcu-4.0.11; yes "" | pecl install igbinary; - phpenv config-add memcached.so; + echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; phpenv config-rm xdebug.ini; ;; "7") yes "" | pecl install apcu; - phpenv config-add memcached.so; + echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; phpenv config-rm xdebug.ini; ;; "hhvm")