summaryrefslogtreecommitdiffstats
path: root/mongo.ini
blob: 8a0174ff424018e8b091ffd705e52173ba9163f3 (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
; 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

;  The number of bytes-per-chunk. 
;  This number must be at least 100 less than 4 megabytes (max: 4194204) 
;mongo.chunk_size = 261120

;  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 = 15

;  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)
;  Only allowed on 64bits system
;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