ClassNotFoundException: Attempted to load class "Mongo" from... (with persist) symfony2
Thanks guys. Works now. the extension mongo.so has to be loaded in php.ini and I edited the wrong php.ini file. Added extension=mongo.so
to php.ini located in /etc/php5/apache2/ and now it works :)Hopefully this can help someone in the future.