Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9172383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:19:58+00:00 2026-06-17T16:19:58+00:00

I have MAMP 1.9 on MAC OSX 10.8.2 using PHP 5.3 I installed MongoDB

  • 0

I have MAMP 1.9 on MAC OSX 10.8.2 using PHP 5.3
I installed MongoDB and the PHP extension mongo.so and added it to my php.ini.

I can run the MongoDB on the console and my phpinfo says MongoDB support is enabled but I cannot run the following PHP script.

<?php $connection = new MongoClient(); ?>

PHP comes up with a fatal error:

Class 'MongoClient' not found

Something seems to be wrong with the autoload configuration of my MAMP (or the extension installation).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:19:59+00:00Added an answer on June 17, 2026 at 4:19 pm

    As Sammaye mentioned in the comments above, it looks like you’re simply running an older version of the driver. You can obtain the current version by either dumping Mongo::VERSION or the returned value from phpversion('mongo'). Instructions for installing/upgrading the drive via PECL are also documented; however, we no longer have pre-compiled versions available on GitHub (GitHub will soon be removing repository downloads, although we’ve recently begun publishing the Windows builds to S3).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Newest Version Symfony2 and using MAMP on a MAC. Following command: php app/console doctrine:mapping:convert
I am using ffmpeg on Mac OSX 10.7.3 in MAMP through PHP's exec() command,
I have installed MAMP and the PHP it came with wasn't compiled with ncurses
I have installed MAMP on my laptop and moved my web project (developed using
Well, I have MAMP installed on my Mac OS X, and I've got PostGres
I have MAMP installed on my Mac OS X, which is installed within my
I installed MAMP on my mac to run sql and apache server on my
I have installed a bitnami mac stack mainly because I require at least PHP
I have MAMP installed in my Applications folder on my Mac, and the project
OSX machine running MAMP. CakePHP 2.2.1 installed and configured properly (meaning that I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.