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 do I install a PHP module like IMAGICK? #50

Closed
texasag99 opened this issue Dec 19, 2022 · 2 comments
Closed

How do I install a PHP module like IMAGICK? #50

texasag99 opened this issue Dec 19, 2022 · 2 comments
Assignees
Labels

Comments

@texasag99
Copy link

Hello,

I'm running Docker on Linux. I use the following command to start the container:

docker run --name myXampp -p 41061:22 -p 41062:80 -d -v ~/my_web_pages:/www tomsik68/xampp:8

How do I access phpmyadmin?

Thank you!

@tomsik68
Copy link
Owner

Hello!

I believe you should be able to access phpmyadmin at this URL: http://localhost:41062/phpmyadmin/. Let me know if that doesn't work.

As for installing imagick, I recommend you create your own container derived from this one. You can test something like this:

FROM tomsik68/xampp:8     # feel free to change the tag to whatever you need!

RUN apt install php-imagick && echo "extension=imagick" >> /opt/lampp/etc/php.ini   # beware I didn't check the php.ini location..

Note that you'll need to make tweaks to this setup as I didn't test it, but it should be enough to get you started.

Feel free to refer to this article: https://www.linuxcapable.com/how-to-install-php-imagemagick-imagick-on-debian-11-bullseye/#Install_PHP_ImageMagick

@tomsik68
Copy link
Owner

Closing for inactivity. Feel free to re-open if you have any additional questions.

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

No branches or pull requests

2 participants