Here is sample build: https://travis-ci.org/nazar-pc/CleverStyle-CMS/builds/125947543
Config:
...
before_script:
- mysql -e 'CREATE DATABASE `cscms.travis`;'
- if [[ "$(php -v | grep 'PHP 5')" ]]; then echo yes | pecl install apcu-4.0.8; fi
- if [[ "$(php -v | grep 'PHP 7')" ]]; then echo yes | pecl install apcu; fi
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
...
APCu in PHP 5.6 works fine, in PHP 7 doesn't.
But if I add:
- if [[ "$(php -v | grep 'PHP 7')" ]]; then echo 'extension = apcu.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
Immediately I'm getting errors: https://travis-ci.org/nazar-pc/CleverStyle-CMS/jobs/125948629
There definitely is something wrong with PHP 7 setup, can't have APCu there, even though manual insertion extension = apcu.so worked in past.
Here is sample build: https://travis-ci.org/nazar-pc/CleverStyle-CMS/builds/125947543
Config:
APCu in PHP 5.6 works fine, in PHP 7 doesn't.
But if I add:
Immediately I'm getting errors: https://travis-ci.org/nazar-pc/CleverStyle-CMS/jobs/125948629
There definitely is something wrong with PHP 7 setup, can't have APCu there, even though manual insertion
extension = apcu.soworked in past.