summaryrefslogtreecommitdiffstats
path: root/mongo.ini
blob: 1bb81f3ac34558b73a461956bf33b308246deda5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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