MongoDB and PHP

Do you have questions regarding Pecl or Pear? ask here!

Moderators: macek, egami, gesf

shakthydoss
New php-forum User
New php-forum User
Posts: 2
Joined: Mon Apr 11, 2011 4:07 am

MongoDB and PHP

Postby shakthydoss » Mon Apr 11, 2011 4:27 am

Hi ,

I have installed mongodb version 1.1.4 on my ubuntu 10.10
To make mongodb work with php ,I have php driver for mongodb namely pecl

After installing I have add 'extension=mongo.so' to php.ini file.
I have rested my apache2 server
but mongodb information is shown in phpinfo() .

i have checked pecl is working by the following command.

$ pecl search mongo
Retrieving data...0%
Matched packages, channel pecl.php.net:
=======================================
Package Stable/(Latest) Local
mongo 1.1.4 (stable) 1.1.4 MongoDB database driver

Still mongodb information is shown in phpinfo().

looking for possible helps and support.
Thank you

Suhoij
New php-forum User
New php-forum User
Posts: 92
Joined: Tue Aug 17, 2010 2:00 am
Location: Ukraine Kharkov
Contact:

Re: MongoDB and PHP

Postby Suhoij » Thu Jun 16, 2011 4:57 am

So mongo db info is not shown in phpinfo? Did you add the extension string to correct php.ini ? You can check it by running phpinfo and look where php load the ini file from.

ravisoni6262
New php-forum User
New php-forum User
Posts: 13
Joined: Mon Jun 13, 2011 4:08 am

Re: MongoDB and PHP

Postby ravisoni6262 » Sat Jun 25, 2011 9:58 am

Use EzSql DB class at the place of mangoDB , EzSql is a great class provide easy DB handling.
for more please visit http://php-mechanic.blogspot.com


Return to “PEAR and PECL”

Who is online

Users browsing this forum: No registered users and 2 guests