Module installation

361 views
Skip to first unread message

Anele Ngesi

unread,
Jan 3, 2011, 5:24:13 AM1/3/11
to chisim...@googlegroups.com
Hi all

I am trying to install a module but i seem to get this error

"Fatal error: Class 'Mongo' not found in /var/www/framework/app/packages/mongo/classes/mongoops_class_inc.php on line 231"

can any one help

regards
Anele

Paul Scott

unread,
Jan 3, 2011, 5:29:05 AM1/3/11
to chisim...@googlegroups.com

On 03/01/2011 12:24, Anele Ngesi wrote:
> Hi all
>
> I am trying to install a module but i seem to get this error
>
> "*Fatal error*: Class 'Mongo' not found in
> */var/www/framework/app/packages/mongo/classes/mongoops_class_inc.php*
> on line *231*"
>
> can any one help

You need to install the mongo extension: pecl install mongo


--
-- Paul

http://www.paulscott.za.net
http://twitter.com/paulscott56
http://avoir.uwc.ac.za

Anele Ngesi

unread,
Jan 3, 2011, 5:46:00 AM1/3/11
to chisim...@googlegroups.com

I executed  the command on the terminal
the outcome is as "

No releases available for package "pecl.php.net/mongo"
install failed
"
even tryied to install it manual is the same.is there another way to install this particular class?
All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal



Paul Scott

unread,
Jan 3, 2011, 5:54:50 AM1/3/11
to chisim...@googlegroups.com

On 03/01/2011 12:46, Anele Ngesi wrote:
>
> I executed the command on the terminal
> the outcome is as "
>
> No releases available for package "pecl.php.net/mongo
> <http://pecl.php.net/mongo>"
> install failed
> "

go to pecl.php.net and see what the latest release is and install that

Anele Ngesi

unread,
Jan 5, 2011, 3:13:49 AM1/5/11
to chisim...@googlegroups.com
Hi all

I have installed Mongodb on my Machine to eliminate this error "
Fatal error: Class 'Mongo' not found in /var/www/framework/app/packages/mongo/classes/mongoops_class_inc.php on line 231
" even when start mongo, I get the same error.  tryied sudo update and upgrade.No change.

can anyone help on this?

regards
Anele

Charl van Niekerk

unread,
Jan 5, 2011, 3:27:06 AM1/5/11
to chisim...@googlegroups.com
Hi Anele,

You need to install the MongoDB PHP PECL extension:

$ pecl install mongo

http://pecl.php.net/package/mongo

Charl van Niekerk

unread,
Jan 5, 2011, 3:28:55 AM1/5/11
to chisim...@googlegroups.com
Oh sorry I should have read your mail better. If this does not help
unfortunately I don't know what would be causing it - worked for me.
On which version of Linux are you running?

Anele Ngesi

unread,
Jan 5, 2011, 3:33:01 AM1/5/11
to chisim...@googlegroups.com
I am running version 90.4

Charl van Niekerk

unread,
Jan 5, 2011, 6:25:26 AM1/5/11
to chisim...@googlegroups.com
On Wed, Jan 5, 2011 at 1:23 PM, Charl van Niekerk <cha...@charlvn.com> wrote:
> Sorry I meant the Kernel.

The distro. Apologies, just got back from town and it's hot. :)

Anele Ngesi

unread,
Jan 5, 2011, 6:38:47 AM1/5/11
to chisim...@googlegroups.com
I have installed Mongo it works fine, there issue now is i get this error  "You need to install the PHP YAZ extension to use these functions" I have gone through there php.ini file added the extension=yaz.so extension restarted apache, update its still shows the same complain
 "You need to install the PHP YAZ extension to use these functions" and i have installed php_yaz.

can any one help?
thank you
Anele
Reply all
Reply to author
Forward
0 new messages