Installing PHP mcrypt in Ubuntu

2014-09-13 22:16:03 -0400
If you see this you will need to install php mcrypt mod: PHP Fatal error: Call to undefined function mcrypt_encrypt() in Command line code on line N

And here is how you install in Ubuntu 14.04

apt-get install php5-mcrypt
php5enmod mcrypt

# If you are using php fpm
service php5-fpm restart

# If you are using apache + php mod
service httpd restart
«Newer      Older»
Comment:
Name:

Back to home

Subscribe | Register | Login | N