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

Unexpected 'unsupported method' warning #1016

Closed
ro0NL opened this issue Nov 25, 2024 · 3 comments
Closed

Unexpected 'unsupported method' warning #1016

ro0NL opened this issue Nov 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ro0NL
Copy link
Contributor

ro0NL commented Nov 25, 2024

Version of install-php-extensions

2.7.0

Error description

#27 0.062 #############################################################################################################
#27 0.062 #                                                                                                           #
#27 0.062 #                                            W A R N I N G ! ! !                                            #
#27 0.062 #                                                                                                           #
#27 0.062 # You are using an unsupported method to get install-php-extensions!                                        #
#27 0.062 #                                                                                                           #
#27 0.062 # Please update the way you fetch it. Read the instructions at                                              #
#27 0.062 # https://github.com/mlocati/docker-php-extension-installer#usage                                           #
#27 0.062 #                                                                                                           #
#27 0.062 # For example, if you get this script by fetching                                                           #
#27 0.062 # https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions    #
#27 0.062 # replace it with                                                                                           #
#27 0.062 # https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions #
#27 0.062 #                                                                                                           #
#27 0.062 # Sleeping for a while so you get bored of this and act ;)                                                  #
#27 0.062 #                                                                                                           #
#27 0.062 #############################################################################################################

Docker image

php:8.1.31-fpm

Minimal Dockerfile

FROM mlocati/php-extension-installer:2.7.0 AS php_ext_installer
FROM php:8.1.31-fpm
COPY --from=php_ext_installer /usr/bin/install-php-extensions /usr/bin/
RUN install-php-extensions apcu
@ro0NL ro0NL added the bug Something isn't working label Nov 25, 2024
@mlocati
Copy link
Owner

mlocati commented Nov 25, 2024

Thanks for the report!
This was caused by #1009.

I've fixed this issue with 2e59715 and I've just published a new version that should work.

@ro0NL
Copy link
Contributor Author

ro0NL commented Nov 25, 2024

Thanks! All good now.

@mlocati
Copy link
Owner

mlocati commented Nov 25, 2024

Thanks for confirming, @ro0NL!

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