I am using PHP version 7.0.13
I have already installed the mcrypt
package successfully.
$mcrypt -v
Mcrypt v.0.9.9 (x86_64-unknown-linux-gnu)
Linked against libmcrypt v.2.5.8
Copyright (C) 1998-2002 Nikos Mavroyanopoulos (nmav@gnutls.org)
and also
$php -m
[PHP Modules]
...
mcrypt
pcre
...
But when I use phpinfo()
to check, the webpage dosen't show mcrypt
information and the browser returns the error
Fatal error: Uncaught Error: Call to undefined function mcrypt_list_modes()
if I call the function.
Is there any one can help me with this?