I am developing a PHP SilverStripe CMS project. In my project, I am using SoapClient to consume Soap API. But when I initialize SoapClient class I got this error.
Class 'SoapClient' not found
I found out that I need to enable SoapClient for docker. Soap is installed/ enabled as in the screenshot below.
According to the accepted answer here I need to enable Soap Client and Soap Server as well. Fatal error: Class 'SoapClient' not found. How can I do that? I am using docker-compose.yml. So whenever I run php command I just run like this, docker-compose exec php-fpm composer install
.