tags:

views:

690

answers:

1

Hello Everybody,

I just wanted to take a look at Mongo-DB. But i just don't get it running. I've installed it with PECL and my phpinfo() tells me that the extension is loaded, but when i try to get a connection with

$mongo = new Mongo();

I get this:

Fatal error: Uncaught exception 'MongoConnectionException' with message ': Transport endpoint is not connected'

Anybody had the same Problem? ... Or any Idea on this?

Thanks, Alex

+1  A: 

Please don't take this the wrong way, but have you actually got the server running? Only it looks like your error relates to a failure to connect and you've made no mention of the server or where it is located (localhost on the default port for example)

Splash
Shame on me!!! :-) Exactly this was my Problem. Anyhow I thought the PHP-Extension would start the Daemon automatically, and I didn't even thought about that.Thanks for your Post!
mr.alex