Linux Servers

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: …

Ubuntu and PHP 5 “mcrypt extension is missing” error Read More »

How to Change the Default Text Editor in Linux

A default text editor comes with respective Linux distributions. Such as nano, vim, ed etc. Users can change it according to their preferences by changing the $EDITOR environment variable. Changing default editor from nano to vim You must open the .bashrc file and append the line as shown below. #FILE: .bashrc export EDITOR=”vim” Different command …

How to Change the Default Text Editor in Linux Read More »