{"id":4213,"date":"2017-10-24T21:52:13","date_gmt":"2017-10-24T21:52:13","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/10\/24\/how-to-install-a-php-extension-using-easyapache-4\/"},"modified":"2023-05-17T15:02:18","modified_gmt":"2023-05-17T19:02:18","slug":"how-to-install-a-php-extension-using-easyapache-4","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/","title":{"rendered":"How to Install a PHP Extension Using EasyApache 4"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg\" alt=\"Install a PHP Extension Using EasyApache4\" class=\"wp-image-94511\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>If you\u2019re looking to install a PHP extension on your <a href=\"https:\/\/www.inmotionhosting.com\/php-hosting\">PHP web hosting<\/a>, EasyApache 4 (EA4) offers a seamless solution. It simplifies the management of PHP extensions compared to EasyApache 3 (EA3). In this article, we will guide you through the process of installing the fileinfo PHP extension using EasyApache 4. You can easily follow the steps provided via your Web Host Manager (WHM) or Command Line Interface (CLI). Make sure to <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\">upgrade to EasyApache 4<\/a> for a smoother experience in managing PHP extensions.<\/p>\n\n\n\n<div class=\"alert alert-danger\" role=\"alert\"><b>NOTE: <\/b>A <a title=\"Click here to navigate to our website to learn more about the available VPS packages\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\" target=\"_blank\" rel=\"noopener noreferrer\">VPS<\/a> or <a title=\"Click here to navigate to our website to learn more about the available Dedicated Server packages\" href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\" target=\"_blank\" rel=\"noopener noreferrer\">Dedicated Server<\/a> with <a title=\"Click here to navigate to our guide and learn how to obtain root access\" href=\"\/support\/amp\/obtain-root-access\/\" target=\"_blank\" rel=\"noopener noreferrer\">root access<\/a> is required to follow the steps in this guide.<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#whm\">Install from WHM<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#cli\">Install from CLI<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#extensions\">Available PHP Extensions<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-danger\">If you are using<strong> AlmaLinux 8<\/strong>, then only the following versions of PHP are available through EasyApache 4:<\/p>\n\n\n\n<ul class=\"alert alert-danger wp-block-list\">\n<li>PHP 7.2<\/li>\n\n\n\n<li>PHP 7.3<\/li>\n\n\n\n<li>PHP 7.4<\/li>\n\n\n\n<li>PHP 8.0<\/li>\n\n\n\n<li>PHP 8.1<\/li>\n<\/ul>\n\n\n\n<p>The following versions will not be available when using AlmaLinux 8.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP 5.4<\/li>\n\n\n\n<li>PHP 5.5<\/li>\n\n\n\n<li>PHP 5.6<\/li>\n\n\n\n<li>PHP 7.0<\/li>\n\n\n\n<li>PHP 7.1<\/li>\n<\/ul>\n\n\n\n<p>In order to see the most recent versions available, you can run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">repoquery --repoid=EA4 --queryformat=\"%{name}\" | grep -Eoh \"ea-php[0-9]{2}\" | sort | uniq<\/pre>\n\n\n\n<p class=\"alert alert-info\">AlmaLinux 8 does not provide support for loading the legacy versions of PHP (pre-version 7.2).  Support for these earlier versions can loaded using CentOS.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"whm\">Install from WHM<\/h2>\n\n\n\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 <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\n\n\n<ol class=\"article_list wp-block-list\">\n<li>Log into WHM as root.<br><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"408\" class=\"wp-image-15069\" style=\"width: 375px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png\" alt=\"WHM login screen, Username root, Password field filled, and Log in button highlighted\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login.png 303w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-root-login-275x300.png 275w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Type \u2018easy\u2018 into the search field in the top left of WHM.<br><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"452\" class=\"wp-image-15070\" style=\"width: 375px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_whm-search-easy.png\" alt=\"easy entered into WHM search field\"><\/li>\n\n\n\n<li>Under the Software category, click on EasyApache 4.<\/li>\n\n\n\n<li>In the Currently Installed Packages section, click on the Customize button.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"68\" class=\"wp-image-15072\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button.png\" alt=\"EA4 Currently Installed Packages Customize button highlighted\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button.png 921w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button-300x27.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-currently-installed-package-customize-button-768x69.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Click on the PHP Extensions option from the left.<\/li>\n\n\n\n<li>In the Search field, type to enter \u2018fileinfo\u2018.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"214\" class=\"wp-image-15074\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo.png\" alt=\"EA4 PHP Extensions Search field, fileinfo entered and highlighted\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo.png 453w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-search-field-fileinfo-300x85.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Click the toggle button(s) next to the PHP version(s) that you would like the PHP extension installed for.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"541\" class=\"wp-image-15075\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections.png\" alt=\"PHP extension fileinfo for PHP version 5.5, 5.6, 7.0, and 7.1 selected and highlighted\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections.png 706w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-php-extensions-toggle-selections-300x216.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Click the Review option from the left.<\/li>\n\n\n\n<li>Confirm the options you selected are listed under the \u201cPlease review the following list of packages you are about to install by provisioning this profile.\u201d section. Then, click the Provision button.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"167\" class=\"wp-image-15077\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions.png\" alt=\"EA4 Review section displaying the 'Please review the following list of packages you are about to install by provisioning this profile' section\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions.png 701w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/10\/whm-edu_easyapache-4_ea4-install-php-extension-fileinfo_ea4-review-php-extensions-300x67.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Once the installation is completed, you will receive a message: \u201cThe provision process is complete\u201d. Click the Done button to finish.<\/li>\n<\/ol>\n\n\n\n<p>Now that you have completed installing the <strong>fileinfo<\/strong> PHP extension from WHM, you can view your phpinfo.php page to confirm it is enabled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"cli\">Install from CLI<\/h2>\n\n\n\n<p>EasyApache 4 is also designed to allow installation of PHP extensions via the <em>Command Line Interface (CLI)<\/em> using <em>Yellowdog Updater Modified (yum)<\/em>. Again, it is important to note that you need to install the PHP extension <u>separately for each PHP version<\/u>.<\/p>\n\n\n\n<p>Also, EA4\u2019s packages for PHP modules and extensions use the <strong>ea-php<em>##<\/em>-php-<em>module<\/em><\/strong> naming convention. Simply replace <em>##<\/em> with the PHP version number (for our example: \u201955\u2019, \u201956\u2019, \u201970\u2019, and \u201971\u2019) and <em>module<\/em> with 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\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a title=\"Click here to navigate to our guide to learn how to use SSH\" href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Connect to your server via an SSH connection<\/a>.<\/li>\n\n\n\n<li>First, update cPanel by running the following command:\n<pre>\/scripts\/upcp<\/pre>\n<\/li>\n\n\n\n<li>Once \u201cupcp\u201d completes, run the following command:\n<pre>yum install -y ea-php55-php-fileinfo ea-php56-php-fileinfo ea-php70-php-fileinfo ea-php71-php-fileinfo<\/pre>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/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 <u>NOT<\/u> specify that version in your command.<\/div>\n\n\n\n<p>Now that you have completed installing the <strong>fileinfo<\/strong> PHP 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\n\n\n<pre class=\"wp-block-code\"><code>scl enable ea-php## 'php -i' | grep 'fileinfo'<\/code><\/pre>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span style=\"color: slategrey;\">root@localhost ~ $ <\/span> <span style=\"color: turquoise;\">scl enable ea-php56 'php -i' | grep 'fileinfo'<\/span>\nConfigure Command =&gt; '.\/configure' ...'--enable-<span style=\"color: lawngreen;\">fileinfo<\/span>=shared'...'\n\/opt\/cpanel\/ea-php56\/root\/etc\/php.d\/<span style=\"color: lawngreen;\">fileinfo.ini<\/span>,\n<span style=\"color: lawngreen;\">fileinfo<\/span>\n<span style=\"color: lawngreen;\">fileinfo<\/span> support =&gt; enabled<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"extensions\">Available PHP Extensions<\/h2>\n\n\n\n<p>Below is a list of PHP extensions for PHP 8. Available extensions will vary depending on your installed PHP version(s).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>build \u2013 package shipping basic build configuration<\/li>\n\n\n\n<li>libc-client \u2013 UW C-client mail library<\/li>\n\n\n\n<li>libc-client-devel \u2013 development tools for programs which will use the UW IMAP library<\/li>\n\n\n\n<li>libc-client-static \u2013 UW IMAP static library<\/li>\n\n\n\n<li>pear \u2013 PHP Extension and Application Repository framework<\/li>\n\n\n\n<li>php \u2013 PHP DSO<\/li>\n\n\n\n<li>php-bcmath \u2013 module for PHP applications for using the bcmath library<\/li>\n\n\n\n<li>php-bz2 \u2013 module for PHP applications that interface with .bz2 files<\/li>\n\n\n\n<li>php-calendar \u2013 module for PHP applications that need date\/time calculations<\/li>\n\n\n\n<li>php-cli \u2013 CLI for PHP<\/li>\n\n\n\n<li>php-common \u2013 common files for PHP<\/li>\n\n\n\n<li>php-curl \u2013 module for PHP applications that need to interface with curl<\/li>\n\n\n\n<li>php-dba \u2013 database abstraction layer module for PHP applications<\/li>\n\n\n\n<li>php-dbg \u2013 interactive PHP debugger<\/li>\n\n\n\n<li>php-devel \u2013 files needed for building PHP extensions<\/li>\n\n\n\n<li>php-enchant \u2013 Enchant spelling extension for PHP applications<\/li>\n\n\n\n<li>php-exif \u2013 module for PHP applications that need to work with image metadata<\/li>\n\n\n\n<li>php-fileinfo \u2013 module for PHP applications that need to detect file types<\/li>\n\n\n\n<li>php-fpm \u2013 PHP FastCGI Process Manager<\/li>\n\n\n\n<li>php-ftp \u2013 module for PHP applications that need full FTP protocol support<\/li>\n\n\n\n<li>php-gd \u2013 module for PHP applications for using the gd graphics library<\/li>\n\n\n\n<li>php-gettext \u2013 module for PHP applications that need native language support<\/li>\n\n\n\n<li>php-gmp \u2013 module for PHP applications for using the GNU MP library<\/li>\n\n\n\n<li>php-iconv \u2013 module for PHP applications that need to convert character sets<\/li>\n\n\n\n<li>php-imagick \u2013 native php extension to create and modify images using the ImageMagick API<\/li>\n\n\n\n<li>php-imap \u2013 module for PHP applications that use IMAP<\/li>\n\n\n\n<li>php-intl \u2013 internationalization extension for PHP applications<\/li>\n\n\n\n<li>php-ldap \u2013 module for PHP applications that use LDAP<\/li>\n\n\n\n<li>php-libsodium \u2013 modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools<\/li>\n\n\n\n<li>php-litespeed \u2013 LiteSpeed web server PHP support<\/li>\n\n\n\n<li>php-mbstring \u2013 module for PHP applications which need multi-byte string handling<\/li>\n\n\n\n<li>php-memcached \u2013 php-memcached extension for ea-php80<\/li>\n\n\n\n<li>php-mysqlnd \u2013 module for PHP applications that use MySQL databases<\/li>\n\n\n\n<li>php-odbc \u2013 module for PHP applications that use ODBC databases<\/li>\n\n\n\n<li>php-opcache \u2013 Zend OPcache<\/li>\n\n\n\n<li>php-pdo \u2013 database access abstraction module for PHP applications<\/li>\n\n\n\n<li>php-pgsql \u2013 PostgreSQL database module for PHP<\/li>\n\n\n\n<li>php-posix \u2013 modules for PHP scripts that need access to POSIX functions<\/li>\n\n\n\n<li>php-process \u2013 modules for PHP script using system process interfaces<\/li>\n\n\n\n<li>php-pspell \u2013 module for PHP applications for using pspell interfaces<\/li>\n\n\n\n<li>php-redis \u2013 PHP extension for interfacing with Redis<\/li>\n\n\n\n<li>php-snmp \u2013 module for PHP applications that query SNMP-managed devices<\/li>\n\n\n\n<li>php-soap \u2013 module for PHP applications that use the SOAP protocol<\/li>\n\n\n\n<li>php-sockets \u2013 module for PHP applications that need low-level access to sockets<\/li>\n\n\n\n<li>php-sodium \u2013 cryptographic extension based on Libsodium<\/li>\n\n\n\n<li>php-sourceguardian \u2013 loader for SourceGuardian-encoded PHP files<\/li>\n\n\n\n<li>php-tidy \u2013 standard PHP module provides tidy library support<\/li>\n\n\n\n<li>php-xml \u2013 module for PHP applications which use XML<\/li>\n\n\n\n<li>php-zip \u2013 module for PHP applications that need to handle .zip files<\/li>\n\n\n\n<li>runtime \u2013 package that handles ea-php80 Software Collection<\/li>\n\n\n\n<li>scldevel \u2013 package shipping development files for ea-php80<\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-info\">You can view the documented PHP extensions list at <a href=\"https:\/\/www.php.net\/manual\/en\/extensions.alphabetical.php\" target=\"_blank\" rel=\"noreferrer noopener\">PHP.net<\/a>.<\/p>\n\n\n\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 <a title=\"Click here to navigate to our WHM Education Channel for more advanced tutorials\" href=\"\/support\/edu\/easyapache\/\" target=\"_blank\" rel=\"noopener noreferrer\">EasyApache Education Channel<\/a> for more advanced guides.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re looking to install a PHP extension on your PHP web hosting, EasyApache 4 (EA4) offers a seamless solution. It simplifies the management of PHP extensions compared to EasyApache 3 (EA3). In this article, we will guide you through the process of installing the fileinfo PHP extension using EasyApache 4. You can easily follow<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4302],"tags":[],"class_list":["post-4213","post","type-post","status-publish","format-standard","hentry","category-easyapache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install a PHP Extension Using EasyApache 4 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/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 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-24T21:52:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-17T19:02:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"How to Install a PHP Extension Using EasyApache 4\",\"datePublished\":\"2017-10-24T21:52:13+00:00\",\"dateModified\":\"2023-05-17T19:02:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\"},\"wordCount\":1207,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg\",\"articleSection\":[\"EasyApache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\",\"name\":\"How to Install a PHP Extension Using EasyApache 4 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg\",\"datePublished\":\"2017-10-24T21:52:13+00:00\",\"dateModified\":\"2023-05-17T19:02:18+00:00\",\"description\":\"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Install a PHP Extension Using EasyApache4\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install a PHP Extension Using EasyApache 4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install a PHP Extension Using EasyApache 4 | InMotion Hosting","description":"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.","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:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/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 | InMotion Hosting","og_description":"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-10-24T21:52:13+00:00","article_modified_time":"2023-05-17T19:02:18+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"How to Install a PHP Extension Using EasyApache 4","datePublished":"2017-10-24T21:52:13+00:00","dateModified":"2023-05-17T19:02:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/"},"wordCount":1207,"commentCount":4,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg","articleSection":["EasyApache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/","name":"How to Install a PHP Extension Using EasyApache 4 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4-1024x538.jpg","datePublished":"2017-10-24T21:52:13+00:00","dateModified":"2023-05-17T19:02:18+00:00","description":"In this guide, you will learn the steps to install the fileinfo PHP extension using EasyApache 4.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/whm-install-php-extension-easyapache4.jpg","width":1200,"height":630,"caption":"Install a PHP Extension Using EasyApache4"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install a PHP Extension Using EasyApache 4"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4302,"name":"EasyApache","slug":"easyapache","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4213"}],"version-history":[{"count":10,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4213\/revisions"}],"predecessor-version":[{"id":104529,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4213\/revisions\/104529"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}