Error while installing mongo driver for PHP on amazon linux

Question:

I tried to install the mongodb driver for PHP on Amazon Linux.
While running sudo pecl install mongo, I get the error message:

PEAR Version: 1.9.5
PHP Version: 5.3.29

I installed gcc which helped me progress further with the install till this error.

The best Guide I was able to find was here:
http://jonathanhui.com/install-mongodb-amazon-linux
PHP’s guide: http://php.net/manual/en/mongo.installation.php

Answer:

evp is high-level cryptographic functions.

Try to install development libraries:

Ubuntu:
sudo apt-get install libssl-dev

CentOS:
yum install openssl-devel

Leave a Reply