So I can\'t stop getting the error:
PHP Fatal error: Call to undefined function mcrypt_decrypt() in
Even when I have php5_mcrypt installed, I
You may have to enable the module. On Ubuntu systems this can most easily be done by linking the ini file that ships with php5-mcrypt into your conf.d for each PHP binary you want to use:
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/cli/conf.d/mcrypt.ini
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/cgi/conf.d/mcrypt.ini
Installing is one thing. Enabling is another. Please make sure your /etc/php.ini file contains the following line :
extension=mcrypt.so
If you can't find your php.ini, create a test.php file containing :
<?php phpinfo(); ?>
Execute it with php test.php | grep ".ini", and you'll find the paths to your ini files. One of them must include the extension= line above.