Skip to content

Instantly share code, notes, and snippets.

@yegeniy
yegeniy / ubuntuDevSetupPhpMongoMysql.md
Created April 12, 2012 04:00
Dev environment setup on Ubuntu for PHP, Mongo, MySQL

Install php

sudo apt-get install -y php5-common libapache2-mod-php5 php5-cli curl libcurl3 libcurl3-dev php5-curl php5-mcrypt php5-ldap php5-gd php5-mysql phpunit php-pear

sudo pear upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony-project.com
sudo pear install --alldeps phpunit/PHPUnit