Skip to content

Instantly share code, notes, and snippets.

@RoesWibowo
Created June 11, 2016 16:46
Show Gist options
  • Save RoesWibowo/73d57de5660f79fb34e5702fd7238836 to your computer and use it in GitHub Desktop.
Save RoesWibowo/73d57de5660f79fb34e5702fd7238836 to your computer and use it in GitHub Desktop.
Install mongodb on Ubuntu server
# install required package (php5 dev, open ssl library and pcre)
sudo apt-get install php5-dev libssl-dev libcurl4-openssl-dev clibcurl4-openssl-dev pkg-config libssl-dev libsslcommon2-dev apt-get install libpcre3-dev -y
# build mongodb extension for PHP
pecl install mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment