; Tell PHP to load the Mongo Extension on startup extension=mongo.so [mongo] ; If the driver should reconnect to mongo mongo.auto_reconnect = False ; Whether to allow persistent connections mongo.allow_persistent = On ; Maximum number of persistent connections (-1 means unlimited) mongo.max_persistent = -1 ; Maximum number of links (persistent and non-persistent, -1 means unlimited) mongo.max_connections = -1 ; Default host for mongo connection mongo.default_host = localhost ; Default port for mongo database mongo.default_port = 27017 ; When saving files to the database, size of chunks to split them into mongo.chunk_size = 262400 ; Specify an alternate character to $ to use for special db functions ($set, $push, $exists, etc.) mongo.cmd = "$"