abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
768 stars 315 forks source link

Call to undefined function simplexml_load_string() #175

Closed kaihendry closed 5 years ago

kaihendry commented 5 years ago

How do I support XML with your image?

https://stackoverflow.com/questions/31206186/call-to-undefined-function-simplexml-load-string

Use your image as a base?

Thank you!

kaihendry commented 5 years ago

I quickly created a new image https://hub.docker.com/r/uneet/caddyphp

FROM abiosoft/caddy:php

RUN apk add --update php-simplexml

ENTRYPOINT ["/usr/bin/caddy"]
CMD ["--conf", "/etc/Caddyfile"]
abiosoft commented 5 years ago

I'll add php-simplexml to the list of installed packages.

Thanks.

kaihendry commented 5 years ago

Have you done this? https://github.com/abiosoft/caddy-docker/blob/php/Dockerfile

abiosoft commented 5 years ago

I've stopped using the php branch, but rather a php subdirectory in the master branch. Yeah, I added it. https://github.com/abiosoft/caddy-docker/blob/master/php/Dockerfile#L50.