-
Notifications
You must be signed in to change notification settings - Fork 3k
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
PHP8.2 is missing from the Ubuntu 22 runner image #7545
Comments
Hello @CxDevLead , we will take a look. |
PHP 8.2 Is missing in official Ubuntu22 apt repository. GitHub recommends using the setup-php action for any customers who want to use any other (non-installed) versions of PHP or want to get latest PHP faster. You can find additional information in this tread. |
I doubt any PHP developer considers this closed or a solution. Canonical only supports 1 version of PHP for every Ubuntu release. Once a new version is released they do not include it until the next release. |
@CxDevLead , maybe switching to containerized builds is an option ? for example
|
Description
As of currently, if a user needs to use PHP8.2 on a Microsoft hosted runner image, the only option they have is Ubuntu 20.
Ubuntu 22 should also support the most recent version of PHP.
Platforms affected
Runner images affected
Image version and build link
20230426.1
Is it regression?
No
Expected behavior
PHP8.2 is included as a supported version in the runner image
Actual behavior
PHP 8.2 is not supported, and any PHP8.2 features (such as readonly classes) fail.
Repro steps
Use the following settings:
The runner will throw the following errors:
The text was updated successfully, but these errors were encountered: