How to install PHP module/Extension on EA4

Install PHP curl extension

Run the command yum install “ea-phpXX-php-curl” to install curl

Command to Install curl for PHP version 5.4 : yum install ea-php54-php-curl
Command to Install curl for PHP version 5.5 : yum install ea-php55-php-curl
Command to Install curl for PHP version 5.6 : yum install ea-php56-php-curl
Command to Install curl for PHP version 7.0 : yum install ea-php70-php-curl

Install zlib, core, ctype, date, ereg

Run the command “yum install ea-phpXX-php-common” to install zlib PHP module

Command :

yum install ea-php54-php-common
yum install ea-php55-php-common
yum install ea-php56-php-common
yum install ea-php70-php-common

Install Bcmath

Run the command “yum install ea-phpxx-php-bcmath” to install bcmath on easyapache 4 server.

Command :

yum install ea-php54-php-bcmath
yum install ea-php55-php-bcmath
yum install ea-php56-php-bcmath
yum install ea-php70-php-bcmath

Install Calender

Run the command “ea-phpXX-php-calendar” to install the module on easyapache 4 server.

Command :

yum install ea-php54-php-calendar
yum install ea-php55-php-calendar
yum install ea-php56-php-calendar
yum install ea-php70-php-calendar

Install mbstring, mcrypt

Run the below command on your easyapache 4 server to install mcrypt and mbstring

yum install ea-php54-php-mcrypt
yum install ea-php55-php-mcrypt
yum install ea-php56-php-mcrypt
yum install ea-php70-php-mcrypt

yum install ea-php54-php-mbstring
yum install ea-php56-php-mbstring
yum install ea-php55-php-mbstring
yum install ea-php70-php-mbstring

Comments are closed.