Php-mcrypt no longer availaible in php 7.2 but in the list of recommended php modules

php72

#1

Hi,

the PHP module mcrypt (increases file encryption performance) according to https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#prerequisites-label

But this module is no longer available in php 7.2.

Should nextcloud working flawlessly without this module?
I will install on ubuntu server 18.04

Thanks for hints.


#2

mcrypt is used by user_saml at the moment. This is the only dependency I know. If you don’t need user_saml app you can go forward to use PHP 7.2.

Regards
Timm


Php-mcrypt deprecated
#3

I have the same questions - mcyprt is deprecated - what to do?
Do I need user_saml? How do I know whether I need it? It seems user_saml is connected to security.
What I do? Using a deprecated component seems kind of odd – a comment already made else where.
Can NC actually come forward with a clear and unambigious position on this? Updating their user guides would be a great place to start? In one place php7.2 is fine (in the docs) yet they they describe an install with php7.0. What is the assumption here? Is a deprecated (or near deprecated) php-mcrypt fine to go with?


#4

Hi James,

you need user_saml if you use Shibboleth or other SAML service providers to authenticate users. If you never heard about this you can safly ignore user_saml.

You also can follow discussion at https://github.com/nextcloud/user_saml/issues/168. There is a pull request that removes the dependency for php-mcrypt https://github.com/nextcloud/user_saml/pull/236. So it should be generally resolved in next time.

Regards
Timm