Using PHP 7.1 In CircleCI

php
php7.1

#1

PHP 7.1 is not pre-installed in CircleCI’s Ubuntu 14.04 image, yet.

In the meantime, here’s how you can use PHP 7.1 on CircleCI (Ubuntu 14.04) in the same way you would other supported PHP versions:

machine:
  pre:
    - sudo apt-get update; USE_PRECOMPILE=true sudo -E circleci-install php 7.1.0
  php:
    version: 7.1.0

test:
  override:
    - php --version

#2

Thanks for this! Would you happen to support 7.1.2? Has some bug fixes.


#3

It can be installed via this method but PHP v7.1.2 is slated to be in the next CCI Ubuntu 14.04 image.


#4