Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@kamal Loading composer repositories with package information Updating dependencies (including require-dev) Killed
@yo: “Killed” means your droplet is running out of RAM. Try adding swap:
https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
Thanks for the article one quick thing that i like to do is run
mv composer.phar /usr/local/bin/composer
then instead of running “php composer.phar” you can just run “composer” and they are the same thing.
Forgot to mention moving composer.phar to bin it allows composer to be ran globally. This meaning you will not need to reinstall composer.phar. If you just create a new composer.json file in your project a “composer install” will just work.
thanks,
Is the same process for LEMP? I´m getting “Sorry, command-not-found has crashed!” on Ubuntu 13.10, nginx and php-fpm
Ok my problem was that I dont have configure LC_ALL=“en_US.UTF-8” on /etc/default/locale
I just added LC_ALL, apt-get install php5-cli and apt-get install php5-json
works great!!
I just tried this and running "sudo apt-get install php5 git php5-curl"results in “php5 is already the newest version” followed by it trying to install git-man libcurl3-gnutls liberror-perl patch and it doesn’t work due to some 404 errors…
Anyway, my PHP is currently at 5.3.10 so how do I get my PHP to the necessary 5.3.2+ level? This article doesn’t seem to cover that bit. I’m running the LAMP image using Ubuntu 12.04 and haven’t upgraded anything yet.
This is very confusing as to why it wouldn’t upgrade my PHP.
I just figured it out: I ran sudo apt-get clean followed by sudo apt-get update (not sure if that’s what fixed it or the clean command) and then ran through the steps here: http://thereluctantdeveloper.com/2013/11/upgrading-php-5-4-ubuntu-12-04-lts/
In case anyone else needs help with this.