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

Bug Report: current docker-php-extension-installer does not officialy support PHP 8.2 #239

Open
jnoordsij opened this issue Oct 12, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@jnoordsij
Copy link

Note: We also welcome PRs to fix bugs! This helps us take action faster where a bug has been identified!

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Describe the bug
Running the current docker-php-extension-installer script in the PHP 8.2 base image, e.g. sudo -E install-php-extensions xdebug, yields the following message:

### ERROR: Unsupported PHP version: 8.2 ###

Altough technically it continues and works for the cases I've found, an update to the extension would probably be appropriate.

To Reproduce
docker container run --rm -it cimg/php:8.2 /bin/bash -c "sudo -E install-php-extensions xdebug"

Expected behavior
No error message appears.

Workarounds
Ignore the error message as it appears unharmful in most cases.

Screenshots and Build Links
n/a

Additional context
With the PHP 8.3 release coming up, it might be good to update the extension in such a manner it officialy supports that as well. Given that the current origin repository supports it (see mlocati/docker-php-extension-installer#810), getting up to date with this should be sufficient.

@jnoordsij jnoordsij added the bug Something isn't working label Oct 12, 2023
@matiaslauriti
Copy link

It is fully working now, using PHP 8.3, literally executing

sudo -E install-php-extensions xdebug
sudo docker-php-ext-enable xdebug

@jnoordsij
Copy link
Author

It is fully working now, using PHP 8.3, literally executing

sudo -E install-php-extensions xdebug
sudo docker-php-ext-enable xdebug

It is functional, but the warning still appears. So although not a large problem, the problem is still present.

@matiaslauriti
Copy link

It is fully working now, using PHP 8.3, literally executing

sudo -E install-php-extensions xdebug
sudo docker-php-ext-enable xdebug

It is functional, but the warning still appears. So although not a large problem, the problem is still present.

You are correct. When I checked, the output was scrolled to the bottom, hiding the first line (the warning you are talking about)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants