Module 'mongo' already loaded in Unknown on line 0

5,246 views
Skip to first unread message

Clamm

unread,
Jan 13, 2012, 5:47:48 AM1/13/12
to mongodb-user
Hi everybody,
one of our servers cron deamon is sending us now since days the
following message "Module 'mongo' already loaded in Unknown on line
0". I really searched everywhere for an solution - at least one in
understand :) but without success. As soon as i remove the mongo.so
extension from the php.ini it stops sending these messages. Well thats
not a good solution because i need that entry if i wanna restart
apache...

Any ideas how to fix this?

Saludos,
Clamm

Derick Rethans

unread,
Jan 13, 2012, 12:15:17 PM1/13/12
to mongodb-user
On Fri, 13 Jan 2012, Clamm wrote:

> one of our servers cron deamon is sending us now since days the
> following message "Module 'mongo' already loaded in Unknown on line
> 0". I really searched everywhere for an solution - at least one in
> understand :) but without success. As soon as i remove the mongo.so
> extension from the php.ini it stops sending these messages. Well thats
> not a good solution because i need that entry if i wanna restart
> apache...

You most likely have *two* of such entries. Check which ini files php
loads: "php --ini" on the command line, or check the output of:
<?php phpinfo(); ?> in your browser. It should have "Additional .ini
files parsed" in that output.

> Any ideas how to fix this?

Eliminate just one of those lines.

cheers,
Derick

--
http://mongodb.org | http://derickrethans.nl
twitter: @derickr and @mongodb

Reply all
Reply to author
Forward
0 new messages