This WP plugin interfaces with an old SOAP-based API.
Developing with a Docker Compose WordPress library by Chris Zarate.
Steps to install SOAP extension:
docker-compose exec wordpress bash
(get in the guest server)php --ini
(find php.ini files)cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini
(in this case there wasn’t one)apt-get update && apt-get install vim
(to edit)echo "<?php phpinfo() ?>" > info.php
(and check in browser)- uncomment
;extension=soap
inphp.ini
apt-get update -yqq && apt-get -y install libxml2-dev
docker-php-ext-install soap
apache2ctl restart
That should do the trick. Could add code to Docker Container as well, perhaps.