summaryrefslogtreecommitdiffstats
path: root/mongo.ini
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-27 20:52:21 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-27 20:52:21 +0100
commite8af1ded738a54aaba2625d125636aa87dd1a0ed (patch)
treec86fe9ece8359fd63f558e819c8aff1b0e1308d8 /mongo.ini
parent76a34f18ecaa56c87d1021f226c0b29d6f3cc9a2 (diff)
php-pecl-mongo: 1.3.0
Diffstat (limited to 'mongo.ini')
-rw-r--r--mongo.ini44
1 files changed, 44 insertions, 0 deletions
diff --git a/mongo.ini b/mongo.ini
new file mode 100644
index 0000000..1bb81f3
--- /dev/null
+++ b/mongo.ini
@@ -0,0 +1,44 @@
+; Enable Mongo extension module
+extension=mongo.so
+
+; option documentation: http://www.php.net/manual/en/mongo.configuration.php
+
+; If empty strings ("") should be allowed as key names.
+;mongo.allow_empty_keys = 0
+
+; If persistent connections are allowed.
+;mongo.allow_persistent = 1
+
+; The number of bytes-per-chunk.
+; This number must be at least 100 less than 4 megabytes (max: 4194204)
+;mongo.chunk_size = 262144
+
+; A character to be used in place of $ in modifiers and comparisons.
+;mongo.cmd = $
+
+; Default hostname when nothing is passed to the constructor.
+;mongo.default_host = localhost
+
+; The default TCP port number. The database's default is 27017.
+;mongo.default_port = 27017
+
+; For replicaset connections: The minimum interval with which the driver
+; will send "isMaster" requests to the MongoDB server.
+;mongo.is_master_interval = 60
+
+; Return a BSON_LONG as an instance of MongoInt64
+; (instead of a primitive type).
+;mongo.long_as_object = 0
+
+; Use MongoDB native long (this will default to true for 2.0.0)
+mongo.native_long = true
+
+; For replicaset connections: The minimum interval with which the driver
+; will send "ping" requests to the MongoDB server.
+;mongo.ping_interval = 5
+
+; If an exception should be thrown for non-UTF8 strings.
+; This option will be eliminated and exceptions always thrown for non-UTF8
+; strings starting with version 1.1.0.
+mongo.utf8 = 1
+