mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-25 17:32:28 +01:00
This also consolidates INI functions (and trace logging) into a separate file and ensure that mongoc logging is disabled during GSHUTDOWN (avoiding a potential segfault). Enable service ID mocking when testing load balancers with HAProxy.
19 lines
250 B
PHP
19 lines
250 B
PHP
--TEST--
|
|
phpinfo() reports mongodb.debug (master and local)
|
|
--INI--
|
|
mongodb.debug=stderr
|
|
--FILE--
|
|
<?php
|
|
|
|
ini_set('mongodb.debug', 'stdout');
|
|
phpinfo();
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
%a
|
|
mongodb.debug => stdout => stderr
|
|
%a
|
|
===DONE===%A
|