Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is PHP locked at 8.0.0? Please add more minor versions #506

Closed
abbluiz opened this issue Dec 20, 2021 · 18 comments
Closed

Why is PHP locked at 8.0.0? Please add more minor versions #506

abbluiz opened this issue Dec 20, 2021 · 18 comments

Comments

@abbluiz
Copy link

abbluiz commented Dec 20, 2021

There are no available PHP runtimes for PHP 8.0.2 (PHP is 8.0.14 at the time of creation of this issue). There is also no available runtimes for PHP 8.1.

@ghost
Copy link

ghost commented Jan 24, 2022

+1

@MitchellBarker
Copy link

Any updates on this? Driving me crazy

@mohammad-pouri
Copy link

This is funny!, runtimes for 7.3 and 7.4 are depricated and the only supported version is 8 which is locked to 8.0.0!
if you are not planning to release 8.1 at least include minor releases for 8. right now 8.0.16 is available. we have lot of trouble with locking the release to 8.0.0 because a big bunch of packages need at least 8.0.2

@aws aws deleted a comment Mar 7, 2022
@abbluiz
Copy link
Author

abbluiz commented Mar 7, 2022

I have stopped using PHP runtimes altogether. Now I build things inside docker. However I am still not closing this issue, since I still think AWS should add more versions.

@AdamWills
Copy link

Your Composer dependencies require a PHP version ">= 8.0.2". You are running 8.0.0.

Would appreciate a more up to date version of PHP 8.0 available....

@AdamWills
Copy link

I've made a PR to (hopefully) help fix this.

Not sure who can take a look at it. @leoherran-aws?

@jvdven
Copy link

jvdven commented Mar 24, 2022

+1

@MajorasJack
Copy link

Please can this be addressed?

@AshrafAkon
Copy link

@abbluiz any update on this?

@abbluiz
Copy link
Author

abbluiz commented Apr 19, 2022

@AshrafAkon I stopped using the PHP runtime. During CodeBuild, I build a docker image that has the latest PHP version, though. And some steps that I were doing outside the docker image build (in the CodeBuild machine/runtime itself), I included them in the Dockerfile.

@AshrafAkon
Copy link

@abbluiz I am also thinking about doing something same. My main issue was composer. Some package uses minimum php 8.0.2. So I am thinking about using the latest composer image and run "composer install" from there.

@edward-aslin
Copy link

I stopped using the AWS Codebuild image and switched to using the Bitnami Laravel Image.

The only other change I had to make to the build process, was to manually install the AWS Cli.

@Tarhex
Copy link

Tarhex commented Apr 22, 2022

@edward-aslin care sharing a tutorial?

cause am getting this error currently:
symfony/css-selector v6.0.3 requires php >=8.0.2 -> your php version (8.0.0) does not satisfy that requirement.

Although, for now, I do - composer install --ignore-platform-reqs which works

@edward-aslin
Copy link

@Tarhex

It will vary depending on your VPC setup etc. But essentially

  1. Rather than using the Codebuild Image, switch it to the Bitnami Image. You do this in environment settings, you may have to select 'override current image' button, choose custom image and specify 'bitnami/laravel'

  2. Update your build file to install the AWS Cli on the Bitnami image

build:
    commands:
      - echo Build started on `date`
      - echo Update package list
      - sudo apt-get update
      - echo Install AWSCLI
      - sudo apt-get -y install awscli

@stuartford
Copy link

+1 for this please, lack of PHP 8.1 support is an absolute blocker for us migrating to CodeBuild from Bamboo.

@coreykck
Copy link

+1

@Dylan-AWS
Copy link
Contributor

We have updated the PHP 8.0 minor versions in #535. Going to leave open for PHP 8.1 support.

@subinataws
Copy link
Contributor

Addressed in https://github.com/aws/aws-codebuild-docker-images/releases/tag/22.06.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests