Manual
在线手册:中文 英文
PHP手册

Troubleshooting

If you're having trouble, there are lots of resources you can turn to.

You can turn on (very) verbose debugging output by compiling the driver with the debugging flag.

$ ./configure CFLAGS=-DDEBUG

DEBUG turns on all debugging. You can also turn on specific debug flags. In the latest code, these flags are:


Manual
在线手册:中文 英文
PHP手册
PHP手册 - N: Troubleshooting

用户评论:

PHPEric (29-Jul-2010 10:02)

To troubleshoot MongoDB connection issues try running http://www.phpMoAdmin.com

phpMoAdmin will tell you exactly what aspect of your Mongo-PHP connection is not working and how to fix it.