install ext-soap code example Example: install ext-soap sudo apt-get install php7.x-soap sudo systemctl restart apache2