Installing Mongodb on Debian Squeeze
![Installing Mongodb on Debian Squeeze](https://res.cloudinary.com/audiodog/image/upload/w_640,h_155,c_scale,f_auto,q_auto/v1513806711/images/site/blog_banner_light.png)
Easy as
apt-get install mongodb
For the php driver we need php developer tools
apt-get install php5-dev make php-pear pecl install mongo
Then add extension=mongo.so to the end of php.ini
vim /etc/php5/apache2/php.ini