diverse pecl config seems to be wrongly using 5.6.x instead of 5.4.x

This commit is contained in:
Ralf Becker 2016-08-13 13:12:41 +02:00
parent 4e9e5a3e51
commit 75fe23cea5

View File

@ -31,7 +31,9 @@ before_script:
"5.4") "5.4")
php -m; php -m;
pecl config-show; pecl config-show;
pecl config-set ext_dir ~/.phpenv/versions/$(phpenv version-name)/lib/php/extensions/no-debug-zts-20121212; which pecl;
pecl config-show|grep /5.6|cut -c 32|sed 's/5\.6\.[0-9]*/'$(phpenv version-name)'5.4.45/g'|xargs -t -L 1 pecl config-set;
pecl config-show;
yes "" | pecl install memcache; yes "" | pecl install memcache;
yes "" | pecl install apcu-4.0.11; yes "" | pecl install apcu-4.0.11;
phpenv config-add apcu; phpenv config-add apcu;