Skip to content

Instantly share code, notes, and snippets.

@fikriauliya
Last active August 29, 2015 13:56
Show Gist options
  • Save fikriauliya/8894249 to your computer and use it in GitHub Desktop.
Save fikriauliya/8894249 to your computer and use it in GitHub Desktop.
Setting up PHP5.4, Laravel on Ubuntu 10.04
sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5
wget http://laravel.com/laravel.phar
sudo mv laravel.phar /usr/local/bin/laravel
sudo chmod ug+x /usr/local/bin/laravel
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod o-x /usr/local/bin/laravel
sudo apt-get install php5-mysql php5-json php5-mcrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment