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
Can't install modules (gd and imagick) for php5 based on alpine (3.4) #652
Comments
From the docs:
$ docker exec -it php sh
# php -i | grep enabled
Zend Memory Manager => enabled
IPv6 Support => enabled
ctype functions => enabled
cURL support => enabled
date/time support => enabled
DOM/XML => enabled
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
Regex Library => Bundled library enabled
fileinfo support => enabled
Input Validation and Filtering => enabled
FTP support => enabled
hash support => enabled
iconv support => enabled
json support => enabled
libXML streams => enabled
Multibyte Support => enabled
Multibyte (japanese) regex support => enabled
mysqlnd => enabled
OpenSSL support => enabled
PCRE (Perl Compatible Regular Expressions) Support => enabled
PDO support => enabled
PDO Driver for SQLite 3.x => enabled
Phar: PHP Archive support => enabled
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
Native OpenSSL support => enabled
Readline Support => enabled
Reflection => enabled
Session Support => enabled
session.upload_progress.enabled => On => On
Simplexml support => enabled
Schema support => enabled
SPL support => enabled
SQLite3 support => enabled
Dynamic Library Support => enabled
Tokenizer Support => enabled
XMLReader => enabled
XMLWriter => enabled
ZLib Support => enabled So it looks like you only need imagemagick and memcache, and their dependencies which you would find here https://pkgs.alpinelinux.org/contents?file=&path=&name=&branch=edge |
The docs are full of contradictions:
I've managed to successfully install pcntl, mysql, pdo_mysql via Now I only need to install imagick and gd.
and it results into this:
As for gd I tried this:
and these steps fail like that:
Why do those |
some semi-progess with imagemagick:
this way it seems to build successfully, BUT
results into
at the end. |
They've been an effort over time by multiple contributors across many PHP version changes -- any improvements would be welcome (PRs to https://github.com/docker-library/docs/blob/77e1fa5e33b50499c0aeac2ad57a21237d102f30/php/content.md would be great).
This looks like an issue with your local environment; those For reference, Wordpress has an example of installing
#105 (comment) has an example that's been tested previously to work successfully for installing the As a final note, in the future these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow. |
I haven't modified environment at all. The issue appeared quite recently, so it is in upstream, probably. I don't know why these images exist, they are a failure. |
Now im solving that imagemagick-no-decode-delegate Solved for php 7.0 alpine3.8 try for other versionshttps://gist.github.com/ptflp/5cc7ff386ed3338bac4033ec13c339e9 |
Please, provide examples on how to install php modules.
Following current docs - nothing works for me:
results into
The text was updated successfully, but these errors were encountered: