I downloaded the real_aes-8.x-2.2.zip file from the Real AES project page, unzipped and copied it to contrib module folder (/var/www/html/modules/contrib).
While trying to enable this module using
drush en real_aes, I get below error:
Module real_aes doesn't meet the requirements to be enabled. [error] Please install the Defuse PHP-encryption library via Composer. See README.txt (Currently using Defuse PHP-Encryption[error] library version Not Installed)
So now I ran the command
composer require defuse/php-encryption to install Defuse PHP-encryption. I could see that it is downloaded to the location /var/www/html/vendor.
After this, even though the Defuse PHP-encryption is downloaded, if I try to enable the Real AES module using Drush command and also tried Drupal module interface, it still throws the above error.
- Drupal version: 8.6.5
- PHP Version : 7.0.32
- Drush version: 8.1.18
Any help appreciated resolving this issue.