Unable to Install PHP Soap Extension on my Digital Ocean Droplet

March 30, 2018 1.1k views
PHP Linux Commands Ubuntu 16.04

I'm running a WordPress site and one of the plugins I'm using needs me to enable the PHP Soap Extension. However, I'm not able to enable it. I entered the command: sudo apt-get install php-soap after that I wrote "yes" for beginning the installation.

After writing "yes", I got the list of errors which are mentioned below, from what I understand, it's probably because of the mirrors not having the file. Is there something I've messed up with?

My website is Arabic Keyboard. It's a tool which allows people to type in Arabic from the web and we're working on something which would make the tool even better. Do you guys think I should shift to a different host? Sorry for the noob like questions, I'm not a power Linux terminal user.

Err:1 http://sfo1.mirrors.digitalocean.com/ubuntu yakkety-updates/universe amd64 php7.0-soap amd64 7.0.18-0ubuntu0.16.10.1
  404  Not Found
Err:2 http://sfo1.mirrors.digitalocean.com/ubuntu yakkety/universe amd64 php-soap all 1:7.0+44
  404  Not Found
E: Failed to fetch http://sfo1.mirrors.digitalocean.com/ubuntu/pool/universe/p/php7.0/php7.0-soap_7.0.18-0ubuntu0.16.10.1_amd64.deb  404  Not Found
E: Failed to fetch http://sfo1.mirrors.digitalocean.com/ubuntu/pool/universe/p/php-defaults/php-soap_7.0+44_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried getting in touch with the support, but it doesn't seem to be helpful, it's almost 24 hours.

1 Answer

Why are you contacting support? Droplets are unmanaged. Your distro has been EOL since July 2017.

  • Hi Woet,

    Thanks for your reply. Why shouldn't I be contacting the support?

    Even if I shouldn't be, isn't their supposed to respond with a reason why they can't help or something like you said?

    Coming to the problem. I'm not a power Ubuntu/Linux user, I just got a droplet, installed the Ubuntu OS from the dashboard and did the setup. Is there someway I could solve the problem? It would be great if you could help me with it.


    • Because, as mentioned, droplets are unmanaged. Upgrade to a supported Ubuntu release.

Have another answer? Share your knowledge.