-
Notifications
You must be signed in to change notification settings - Fork 2k
Problem with php-cli-alpine. Only for alpine version > 3.13 version. (docker-compose, php v7.4, php v8.1) #1272
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
Comments
Same problem. With this smaller dockerfile:
Tags which are not working for me: php:7.4.28-fpm-alpine3.15, php:7.4.28-fpm-alpine3.14, php:fpm-alpine, php::8.1.3-fpm-alpine3.15. I think all latest alpine images are broken. Maybe related to: #1264 |
It seems that iconv is enabled by default so removing it seems to be working fine. |
Yes, enabled by default:
|
@jonathantullett @JerryVerhoef Thanks for help with php8. Forgot to check it.... |
Yep it's already in the image, also see #1264
$ docker run --rm php:8.1.4-fpm-alpine3.15 php -i | grep iconv
Configure Command => './configure' '--build=x86_64-linux-musl' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-option-checking=fatal' '--with-mhash' '--with-pic' '--enable-ftp' '--enable-mbstring' '--enable-mysqlnd' '--with-password-argon2' '--with-sodium=shared' '--with-pdo-sqlite=/usr' '--with-sqlite3=/usr' '--with-curl' '--with-iconv=/usr' '--with-openssl' '--with-readline' '--with-zlib' '--disable-phpdbg' '--with-pear' '--disable-cgi' '--enable-fpm' '--with-fpm-user=www-data' '--with-fpm-group=www-data' 'build_alias=x86_64-linux-musl'
Registered Stream Filters => zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.16
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value In $ docker run --rm php:fpm-alpine3.13 php -i | grep iconv
Registered Stream Filters => zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk
iconv
iconv support => enabled
iconv implementation => unknown
iconv library version => unknown
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value Closing since this is resolved |
- php:8.1.3-cli-alpine3.15 から - php:8.1.5-cli-alpine3.15 に変更。 iconv はデフォルトで有効になっているため除外した。 @see docker-library/php#1272 (comment)
Hi
Last week I've detected that
php:8.1-cli-alpine
(same asphp:7.4-cli-alpine
with alpine version more than 3.13) have some problems with install iconv viadocker-php-ext-install iconv
I have Dockerfile with lines like:
And it fails at iconv install (checked on step-by-step allocation)
Project with php 7.4 worked fine about two weeks ago. No changes were made with docker files but at last week it fails.
The project was fixed by changing to version
php:7.4-cli-alpine3.13
.But it can be made for
php:8.1-cli-alpine
projectCan you help to fix it?
The text was updated successfully, but these errors were encountered: