Prerequisites - Ubuntu

Published on: 10-15-19 01:26pm

Himani Gupta

Published on - 10-15-19 01:26pm

Composer Installation:

Instruction Link -


PHP Installation:


sudo add-apt-repository ppa:ondrej/php

sudo apt-get update 

After that, pick and run below structured command related to the PHP version of your system/server.


For php7.2

apt-get -y install php7.2 php7.2-curl php7.2-intl php7.2-gd php7.2-dom php7.2-iconv php7.2-xsl php7.2-mbstring php7.2-ctype php7.2-zip php7.2-pdo php7.2-xml php7.2-bz2 php7.2-calendar php7.2-exif php7.2-fileinfo php7.2-json php7.2-mysqli php7.2-mysql php7.2-posix php7.2-tokenizer php7.2-xmlwriter php7.2-xmlreader php7.2-phar php7.2-soap php7.2-mysql php7.2-fpm libapache2-mod-php7.2 php7.2-gmp php7.2-bcmath php7.2-apcu php7.2-redis php7.2-imagick php7.2-imap php7.2-xdebug


For php7.3 

apt-get -y install php7.3 php7.3-curl php7.3-intl php7.3-gd php7.3-dom php7.3-iconv php7.3-xsl php7.3-mbstring php7.3-ctype php7.3-zip php7.3-pdo php7.3-xml php7.3-bz2 php7.3-calendar php7.3-exif php7.3-fileinfo php7.3-json php7.3-mysqli php7.3-mysql php7.3-posix php7.3-tokenizer php7.3-xmlwriter php7.3-xmlreader php7.3-phar php7.3-soap php7.3-mysql php7.3-fpm libapache2-mod-php7.3 php7.3-gmp php7.3-bcmath php7.3-apcu php7.3-redis php7.3-imagick php7.3-imap php7.3-xdebug


IMAP and Mailparse Installation:


Mailparse Extention


apt-get install php<version>-mailparse


pecl install mailparse

Note: Add "" in php.ini file of the php version you are using.


IMAP Extension


apt-get install php<version>-imap


Unable to find an answer?

Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article.

Contact Us

Confirm Action

Are you sure? You want to perform this action.