• I have spun up a Docker Container from wordpress:latest with volume mapping for the parts I need persisted and it seems to work fine.

    A plug-in I am using requires soap client and I don’t see any good explanation of how to get it installed in the docker container.

    For right now I’ve copied the ‘php.ini-development’ to my php.ini file and un-commented the line

    ;extension=soap

    With that line un-commented I am getting the following error:

    <b>Warning</b>: PHP Startup: Unable to load dynamic library ‘soap’
    (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/soap (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/soap:
    cannot open shared object file: No such file or directory),
    /usr/local/lib/php/extensions/no-debug-non-zts-20180731/soap.so
    (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/soap.so: cannot open shared object file:
    No such file or directory)) in <b>Unknown</b> on line <b>0</b><br />

    I assume this means I need to install a soap package so I exec’d into the container and ran the following commands:

    apt-get update
    apt-cache search soap

    This gives me a list of packages but none of them are php-soap.

    Can someone tell me how to install the soap client in this environment?

    • This topic was modified 4 years, 9 months ago by ronnblack.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Docker Install: How to install soap client’ is closed to new replies.