Ubuntu iMagick

How to install iMagick for PHP 7.x in Ubuntu 14 and above

Imagick is the most famous & best PHP extension for image manipulations. You can create and modify images using the iMagick (ImageMagick) library. It’s known on other platforms due to its difficult installation process, however in Ubuntu, installing it is pretty easy thanks to the php-imagick package that installs ImageMagick and Imagick as well. If you want to install Imagick on your server in just a couple of minutes, follow these steps: Install PHP Imagick To use Imagick with PHP 7.x in your server, you can easily achieve it with the following command:

The source of the package is the original package of Imagick from pecl. The installation takes about 1-2 minutes. You just need to press ‘Y’ each …

Read More

Install PHP 7.x GD Library on Ubuntu 14.x

PHP 7 do not come with GD library you need to install it manually. Depending on your current installed PHP version you may install GD library on Ubuntu. Install PHP 7.x (7.0, 7.1, 7.2, etc) GD library

Restart apache server

Now check phpinfo whether GD library is installed or not? Use bellow function in any file and open that file on browser.

Do browser search for GD. If you see “GD Support” is enabled. Then your GD library is successfully installed. Now you may use GD library for image manipulations.

Read More
mbstring extension missing php7 phpmyadmin

Install mbstring extension PHP 7 on ubuntu

Multibyte String (mbstring) extension in deprecated in PHP 7 and above. If you are using PHP 7 & above and you want to access phpMyAdmin. You may face an error i.e. “The mbstring extension is missing. Please check your PHP configuration.” Install mbstring extension PHP 7.x on ubuntu

Restart apache server

Cheers! mbstring extension is installed and auto configured now you can access phpMyAdmin.

Read More
php mail

Enable PHP mail() function on Ubuntu Server

PHP mail() function does not come with default installation of AWS EC Ubuntu Server. You need to install “sendmail” package to enable PHP mail() function on Ubuntu Server. This is a short guide covers how to enable the mail() function in PHP on Ubuntu Server. Here are the steps I took to get “mail()” working on my Ubuntu Server. Step 1: Install sendmail The first thing you need to do is install the “sendmail” package. Do this by running the following command in your terminal:

Sendmail might already be installed, but just in case, enter above into your terminal: Step 2: Configure sendmail package After successful installation of “sendmail” package, you need to configure it. You can do that by running the …

Read More
Install Git, Composer, PhpMyAdmin, Zip

Install Git, Composer, PhpMyAdmin, Zip/UnZip, Enable mod_rewrite on AWS EC Ubuntu

In this tutorial, we are going to see how to install latest packages/modules on Ubuntu server i.e. Git, Composer, PhpMyAdmin, Zip/UnZip, Enable mod_rewrite. In a previous tutorial, we have seen how to install LAMP AWS EC Ubuntu 14 – PHP 7, Apache 2, MySql 5.7 Git Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. To Install Git on your Ubuntu server run following command in SSH terminal.

Composer Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Run the following command on SSH …

Read More