Having problems installing php onto my droplet.

  • Posted March 19, 2015
  • PHP

I did go to the tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntuon on how to install the LAMP/Apache…stack of which php is included. However, it look like ubuntu is not included so I can’t install anything. The droplet is public so I don’t know if this is why I am having problems with the install.

When I typed sudo apt-get update in the console window, it generated errors that it failed to fetch updates…

Need help please.


I did try apt-get update again and again received several lines of errors all to to with ubuntu and not being able to find various packages: -main i386 -universe i386 -main/binary-i386 404 Not found

The final message is: Some index files failed to download. They have been ignored or old ones used instead.

What can I do about this to get php installed?

I did try apt-get update and received several lines of errors dealing with ubuntu:

failed to fetch http:://…binary-i386/Packages 404 NOT FOUND [ip: 80]

Some index files failed to download. They have been ignored or older oned used instead


I apologize but I’m not going to start emailing you personally because the point of this public forum is to be able to help other users, not just the person asking the question.

You’re right, this isn’t going in the right direction: What is actually preventing her from installing PHP? We don’t know yet. apt-get update sometimes fail, but trying later should fix that issue unless the droplet is completely unable to contact the internet.


Hello All,

This is Fadel. Rosalyn, my colleague, is using this account. Can you plz send communications to as well? (They are currently coming to only).

Re this question: The discussion is not going in the right direction. Let’s take a step back. All Rosalyn wants to do is to install PHP on the droplet named Apache. Can you plz help her?

Cheers, Fadel

There’s no such thing as a private or public droplet that I’m aware of. And you can use other distributions than Ubuntu.

I’m not sure but the tutorial said that ubuntu should be installed in all private instances? My droplet is public. Does this matter?

What do you mean by “Ubuntu is not included so I can’t install anything”?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Try to help you deploy and manage your server, is free and works on DigitalOcean