Nota: Este artículo fue publicado originalmente en 2013. Algunos pasos, comandos o versiones de software pueden haber cambiado. Consulta la documentación actual de Ubuntu para la información más reciente.
Resolve: Your web-server does not have the (http://en.wikipedia.org/wiki/Mcrypt “Mcrypt”) module installed. Without it, encryption will be a lot slower.
(How to install mcrypt in an (http://www.ubuntu.com “Ubuntu (operating system)”))
I have installed UpdraftPlus in order to manage backups of the site. The downside is they seem to be moving towards having you buy addons for a lot of the functionality but for now it gets the job done and it is a very complete plugin. One of the big issues I am facing with it though is that the message “Your web-server does not have the mcrypt module installed. Without it, encryption will be a lot slower.” keeps popping up. I am sure I have installed and re-installed mcrypt several times but still no dice so I finally figured out what was wrong: The installation of mcrypt does not link the apache php (runtime?) to mcrypt. So follow this simple instructions to install mcrypt and make sure it is linked correctly:
- Install mcrypt by running the following command: (http://wiki.debian.org/Apt “Advanced Packaging Tool”) install (http://www.php.net “PHP”)-mcrypt
- Make sure the following file exists: /etc/php5/(http://https://httpd.apache.org/ “Apache HTTP Server”)/conf.d/mcrypt.ini
- If the file is missing, you can copy it from: /etc/php5/cli/conf.d/mcrypt.ini or**/etc/php5/conf.d/mcrypt.ini**
- If you need to re-install mcrypt you can do so with this command:apt-get —reinstall install php5-mcrypt
- Don’t forget to restart apache: sudo service apache2 restart
If for some reason you can’t find mcrypt.ini anywhere, you can create the file with the following text inside of it: ; configuration for php MCrypt module extension=mcrypt.so Consider also creating a symbolic link if you want to keep your settings in sync: ln -s **/etc/php5/conf.d/mcrypt.ini** **/etc/php5/apache2/conf.d/mcrypt.ini**
(http://img.zemanta.com/zemified_e.png?x-id=e8ff6273-b3e6-4a41-9c37-e1d21b71f4ab)](http://www.zemanta.com/?px “Enhanced by Zemanta”)