php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63624 documentation concerning settings for Mongo-Database
Submitted: 2012-11-27 12:33 UTC Modified: 2012-11-29 06:07 UTC
From: davidbruchmann at gmail dot com Assigned: bjori (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: davidbruchmann at gmail dot com
New email:
PHP Version: OS:

 

 [2012-11-27 12:33 UTC] davidbruchmann at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/ini.list
---
1) Settings for the Mongo-Database are completley missing on ini.list.php. 
Options are shown in the array below.

2) some types are not documented properly on mongo.configuration.php I guess, 
hints are shown in the array below.

########################################
# Mongo
# Database Extensions
# Vendor Specific Database Extensions
########################################
mongo.allow_empty_keys' => array(
	'default' => false,
	'type' => 'int', // wrong type on manual-page?
	'changeable' => 'PHP_INI_ALL',
),
mongo.allow_persistent' => array(
	'default' => true,
	'type' => 'bool',
	'changeable' => 'PHP_INI_SYSTEM',
),
mongo.auto_reconnect' => array(
	'default' => true,
	'type' => 'bool',
	'changeable' => 'PHP_INI_SYSTEM',
),
mongo.chunk_size' => array(
	'default' => 262144,
	'type' => 'int',
	'changeable' => 'PHP_INI_SYSTEM',
),
mongo.cmd' => array(
	'default' => '$',
	'type' => 'string',
	'changeable' => 'PHP_INI_ALL',
),
mongo.default_host' => array(
	'default' => 'localhost',
	'type' => 'string',
	'changeable' => 'PHP_INI_ALL',
),
mongo.default_port' => array(
	'default' => '27017',
	'type' => 'string',
	'changeable' => 'PHP_INI_ALL',
),
mongo.is_master_interval' => array(
	'default' => 60,
	'type' => 'int',
	'changeable' => 'PHP_INI_ALL',
),
mongo.long_as_object' => array(
	'default' => false,
	'type' => 'string', // wrong type on manual-page?
	'changeable' => 'PHP_INI_ALL',
),
mongo.native_long' => array(
	'default' => 'false_*', // wrong type on manual-page?
	'changeable' => 'PHP_INI_ALL',
),
mongo.ping_interval' => array(
	'default' => 5,
	'type' => 'int',
	'changeable' => 'PHP_INI_ALL',
),
mongo.utf8' => array(
	'default' => 1,	 // wrong setting on manual-page? => true / false
	'type' => 'int', // wrong type on manual-page? => bool?
	'changeable' => 'PHP_INI_ALL',
),



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-29 06:06 UTC] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=328556
Log: Fixed bug#63624 (documentation concerning settings for Mongo-Database)
 [2012-11-29 06:07 UTC] bjori@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Thanks!

As for the int vs bool.. These are really defined as long in the code.. but 
technically these are boolean options :)
 [2012-11-29 06:07 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bjori
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC