Tag Archives: mongo

Ran into an interesting thing I hadn’t seen about php before.

Client wanted to install the pecl module for Mongo DB. Should have been a pretty straight forward process:

pecl install mongo

Nope! It immediately returned the error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes)

Strange, given that the php memory_limit value was considerably higher than that.

As it turns out, pecl doesn’t use the default php.ini file. Who knew? Thanks to another blogger, I was able to quickly resolve the problem by running:

peardev install pecl/mongo

Figured I’d help up the google hits on this one for the next person.

Category: linux
Tags: , ,


gives good tech

Kale is one of the smartest people I know

Racker Hacker
Major is always good for leet deetz