Ubuntu and PHP 5 “mcrypt extension is missing” error

After installing lamp-server or the individual php5-mcrypt package, you may come across the following error (e.g. in phpMyAdmin):

The mcrypt extension is missing. Please check your PHP configuration.

The problem is simply because the module is not enabled by default after installation. To enable, execute:

sudo php5enmod mcrypt
and then restart the Apache server using:

sudo /etc/init.d/apache2 restart

sudo service apache2 restart

 
 
  • Ubuntu, PHP, mcrypt extension is missing, mcrypt extension is missing error, PHP mcrypt extension is missing, PHP mcrypt extension is missing error
  • 6 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Change the Default Text Editor in Linux VPS

A default text editor comes with respective Linux distributions. Such as nano, vim, ed etc. You...

How to Redirect IP to Domain Name using .htaccess

It is important for the SEO to resolve your website and IP address to the same URL and duplicate...

Can I manually create backups / snapshots ?

  Yes, we can enable SolusVM Quick Backups for your OpenVZ VPS. Please request this feature...