mercredi 25 mars 2015

Error while installing mongo driver for PHP on amazon linux

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



fatal error: openssl/evp.h: No such file or directory
#include <openssl/evp.h>
^
compilation terminated.
make: *** [io_stream.lo] Error 1
ERROR: `make' failed


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://ift.tt/1btQH5o PHP's guide: http://ift.tt/15Wml8Z





Aucun commentaire:

Enregistrer un commentaire