Why won't APC work in PHP v5.5 on Travis-CI? -
so, i'm writing php programme uses apc it's caching mechanism. i'm using travisci continuous integration , testing on php 5.3, 5.4 , 5.5. tests apc pass v5.3 , 5.4, fail on 5.5 following message...
php warning: php startup: unable load dynamic library '/home/travis/.phpenv/versions/5.5.0beta1/lib/php/extensions/no-debug-non-zts-20121212/apc.so' - /home/travis/.phpenv/versions/5.5.0beta1/lib/php/extensions/no-debug-non-zts-20121212/apc.so: cannot open shared object file: no such file or directory in unknown on line 0 warning: php startup: unable load dynamic library '/home/travis/.phpenv/versions/5.5.0beta1/lib/php/extensions/no-debug-non-zts-20121212/apc.so' - /home/travis/.phpenv/versions/5.5.0beta1/lib/php/extensions/no-debug-non-zts-20121212/apc.so: cannot open shared object file: no such file or directory in unknown on line 0
my .travis.yml file looks this
## yaml template. --- language: php php: - "5.5" - "5.4" - "5.3" before_script: phpenv config-add tests/config.ini script: phpunit --configuration phpunit.xml
my tests/config.ini file looks this
extension="apc.so" apc.enabled=1 apc.enable_cli=1
can shed light why can apc working in v5.3 , 5.4, not in 5.5? issue php, or issue travis?
here working solution, using right now: https://gist.github.com/till/7266839
essentially install apc 5.3 , 5.4 , install apcu 5.5.
Comments
Post a Comment