Skip to content

Instantly share code, notes, and snippets.

@roderik
Created July 16, 2012 17:46
Show Gist options
  • Select an option

  • Save roderik/3123978 to your computer and use it in GitHub Desktop.

Select an option

Save roderik/3123978 to your computer and use it in GitHub Desktop.
Installing APC in Travis-CI
before_script:
- curl -o APC-3.1.10.tgz http://pecl.php.net/get/APC-3.1.10.tgz
- tar -xzf APC-3.1.10.tgz
- sh -c "cd APC-3.1.10 && phpize && ./configure && make && sudo make install && cd .."
- rm -Rf APC-3.1.10
- rm APC-3.1.10.tgz
- echo "extension=apc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- phpenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment