For my final project, I'm trying to install the MongoDB PHP driver. While compiling, I get the error unknown type name 'uint'; did you mean 'int'?. It seems like I am missing a library, but which one?

Here is a screenshot of the error.

1 Answer 1


This page has a pretty solid checklist for installing and checking your install of the MongoDB drivers in Linux.


Specifically, check to make sure the driver is found.

pecl search mongo

And then you can reinstall using:

sudo pecl install mongo

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .