Q:

Mongo Driver PHP - Can't install [sasl.h not found!]

I can't install mongo driver into my ubuntu development system. When I run the command  
sudo pecl install mongo
I got this error:  
configure: error: sasl.h not found!
ERROR: `/tmp/pear/temp/mongo/configure --with-mongo-sasl=n' failed  
I don't know who to fix or resolve my issue. Please give me some help.
Many thanks

A:

the error message you got:
configure: error: sasl.h not found!

should be solveable by:
sudo apt-get install libsasl2-dev

for CentOS:
yum install cyrus-sasl-devel

Source:
https://stackoverflow.com/questions/22102326/install-pecl-memcached-error

