ctsit / redcap_oncore_client

REDCap OnCore Client external module provides integration with Forte Research's OnCore
Other
4 stars 7 forks source link

SOAP client does not automatically install #15

Open pbchase opened 5 years ago

pbchase commented 5 years ago

The SOAP client does not automatically install with the module.

marlycormar commented 5 years ago

This solves the issue:

sudo apt-get install php7.2-soap
service apache2 restart
ChemiKyle commented 5 years ago

If using the Docker-compose environment, the commands (after docker exec -ti $YOUR_REDCAP_CONTAINER bash) are:

apt update
apt install libxml2-dev
docker-php-ext-install soap
service apache2 restart
pbchase commented 4 years ago

Here's something close to a one-liner of @ChemiKyle's advice for installing the SOAP client:

export YOUR_REDCAP_CONTAINER=rc930_web
docker exec -ti $YOUR_REDCAP_CONTAINER bash -c "apt update && apt -y install libxml2-dev && docker-php-ext-install soap && service apache2 restart"
pbchase commented 4 years ago

Upping my game to a true one-liner:

docker exec -ti $(docker-compose ps | grep web | cut -d' ' -f1) bash -c "apt update && apt -y install libxml2-dev && docker-php-ext-install soap && service apache2 restart"