Error while installing mongo driver for PHP on amazon linux
evp
is high-level cryptographic functions.
Try to install development libraries:
Ubuntu:sudo apt-get install libssl-dev
CentOS:yum install openssl-devel
The right package to install is not libssl-dev
but
sudo apt-get install pkg-config
and now you can execute
sudo pecl install mongodb
Don't forget to add extension=mongodb.so
to your php.ini file.
To know which php.ini file is loaded you can create and simple php file on vps
<?php php_info()?>