We are trying to run simplesamlphp
as an SP on RedHat Linux 7. The code is failing with a HP Fatal error:
Call to undefined function mcrypt_module_open().
simplesamlphp
uses xmlseclibs 1.3.1
, which in turn uses mcrypt
, and mcrypt
is not supported on RedHat Linux 7. Has anyone found a way to get around this problem? Is this a version of xmlseclibs
that does not use mcrypt
, or a version of simplesamlphp
that does not use xmlseclibs
?
You should be able to install the php-mcrypt extension from the Fedora project repo:
Check the versions available, above is just an example.
As a note, SimpleSAMLphp requires mcrypt for encrypting assertions only. See SimpleSAMLphp prerequisites: https://simplesamlphp.org/docs/1.5/simplesamlphp-install#section_3