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

How to add additional modules (like mcrypt) #11

Open
askmike1 opened this issue Jun 7, 2018 · 3 comments
Open

How to add additional modules (like mcrypt) #11

askmike1 opened this issue Jun 7, 2018 · 3 comments

Comments

@askmike1
Copy link

askmike1 commented Jun 7, 2018

In the php dockerhub image, we can do the following:

docker-php-ext-install -j$(nproc) iconv mcrypt \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd

Is there a similar way in this base image to do the same as we need a zend application to have mcrypt installed.

@lokeshmure
Copy link

+1 with the same requirement.

@davidl-zend
Copy link
Contributor

That's an interesting and useful feature. If you manually add modules (either by compiling them or by using pear then you should also enable the extension using Zend Server's api:

http://files.zend.com/help/Zend-Server/content/working_with_cli_tools.htm

FYI: iconv, mcrypt and gd come pre-installed with Zend Server and are also enabled by default.

A full list of extensions can be found in the following URL:
http://files.zend.com/help/Zend-Server/content/zend%20server%20php%207.1%20extensions.htm

@satyajit-burman
Copy link

At the time of build how we can install/enable any extension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants