This is not working on Ubuntu server.
It says:
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so: cannot open shared object file: No such file or directory), /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so.so (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0