I just tried to install the mongodb package, but noticed that the MongoDB class still was not available to my php code. Turns out that even after installing the php-5.4-mongo-zend-server package, the extension is not enabled:
vagrant@houdini:~/tmp$ apt-get download php-5.4-mongo-zend-server
Get:1 Downloading php-5.4-mongo-zend-server 5.4.11+b1 [106 kB]
Fetched 106 kB in 0s (227 kB/s)
vagrant@houdini:~/tmp$ ar vx php-5.4-mongo-zend-server_5.4.11+b1_amd64.deb
x - debian-binary
x - control.tar.gz
x - data.tar.gz
vagrant@houdini:~/tmp$ tar xvf data.tar.gz
./
./usr/
./usr/local/
./usr/local/zend/
./usr/local/zend/lib/
./usr/local/zend/lib/php_extensions/
./usr/local/zend/lib/php_extensions/mongo.so
./usr/local/zend/etc/
./usr/local/zend/etc/conf.d/
./usr/local/zend/etc/conf.d/mongo.ini
vagrant@houdini:~/tmp$ cat ./usr/local/zend/etc/conf.d/mongo.ini
;extension=mongo.so
; You may put any extension-specific directives here
I had expected the module to be enabled in the mongo.ini file, instead; it wasn't.
I'm on ubuntu 12.04: Linux houdini.dev 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

