Missing php_soap.dll in Ubuntu 16

First try to search where is the .dll file mentioned with the following command

grep -r "soap.dll" /etc/php/7.0/cli/

If you get any matches from the command, search for a ; before them. If they don't have it, open the file(s) and comment the lines e.

nano /etc/php/7.0/cli/php.ini

Then press ctrl + W to invoke the search, then paste the string you're searching for, in this case soap.dll and you should reach the line of that string. Put a ; in front of it and save the file with ctrl + X, followed by Y and enter.

Try running php -i | grep -i soap and to see if you still get any errors.