Skip to content

Instantly share code, notes, and snippets.

View davidcostadev's full-sized avatar
😎

David Costa davidcostadev

😎
View GitHub Profile
@davidcostadev
davidcostadev / install.sh
Last active June 22, 2017 00:16 — forked from imposibrus/install.sh
Install MongoDB PHP driver on Ubuntu 14.04
sudo apt-get install -y php-pear php5-dev
sudo pecl install mongo
sudo sh -c "echo 'extension=mongo.so' > /etc/php/7.0/mods-available/mongo.ini"
sudo ln -s /etc/php/7.0/mods-available/mongo.ini /etc/php/7.0/apache2/conf.d/mongo.ini
sudo service apache2 restart