-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update PHP Version and make it configurable #161
Comments
Hmm I don't remember specifically if we saved that process somewhere. I think I might have followed something like https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/ |
FYI I was able to compile specific versions of PHP for lambda, using this Dockerfile. You can copy the PHP bin out of
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the lambda is built we copy the pre-built binary of PHP from an S3 bucket and install it to
/bin/php
.The current version is PHP 7.1 and needs to be updated to a minimum of PHP 7.4 in order to not flag false negatives for PHP syntax errors.
Specifically we are seeing this error:
For code like the following:
Acceptance criteria:
php@7.1
php@7.4
php@8.1
php@7.4
by defaultSuggested config for PHP version:
The text was updated successfully, but these errors were encountered: