summaryrefslogtreecommitdiff
path: root/community/php-mongo/mongo.ini
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-12 00:06:13 -0700
committerroot <root@rshg054.dnsready.net>2013-06-12 00:06:13 -0700
commitdf4e45a41dbb2c5b9600f2c2f824f8e3efbc5bf0 (patch)
treef54aa9c2807350cda9080c77b26961c365927af4 /community/php-mongo/mongo.ini
parentbf794523287bafc14671f83b08f7b22bceadc4bc (diff)
Wed Jun 12 00:06:12 PDT 2013
Diffstat (limited to 'community/php-mongo/mongo.ini')
-rw-r--r--community/php-mongo/mongo.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/php-mongo/mongo.ini b/community/php-mongo/mongo.ini
new file mode 100644
index 000000000..e9e8dbac1
--- /dev/null
+++ b/community/php-mongo/mongo.ini
@@ -0,0 +1,28 @@
+; 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 = "$"
+