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