Install prerequisites
apt-get update apt-get install php5-cli php5-common php5-cgi php5-curl php5-fpm php5-json php5-mcrypt php5-dev php-pear php-apc
Enable Mongo
pecl install mongo echo "extension=mongo.so" >> /etc/php5/fpm/php.ini
Install MongoDB
apt-get install mongodb mongodb-server
Restart Services
service nginx restart service php5-fpm restart
done
No comments:
Post a Comment