php - Fatal error: Call to undefined function mcrypt_get_iv_size() in AppServ
On Ubuntu, with PHP 5 and Apache, you have to run:
apt-get install php5-mcrypt
php5enmod mcrypt
service apache2 restart
If you are using PHP 7:
apt install php7.0-mcrypt
in case of php-7:
sudo apt-get install mcrypt php7.1-mcrypt