{"id":2893,"date":"2026-02-10T12:06:07","date_gmt":"2026-02-10T11:06:07","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=2893"},"modified":"2026-02-10T12:06:07","modified_gmt":"2026-02-10T11:06:07","slug":"how-to-install-all-alt-php-packages-on-cloudlinux","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/","title":{"rendered":"How to Install All Alt-PHP Packages on CloudLinux"},"content":{"rendered":"<h1><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-2894\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\" alt=\"\" width=\"637\" height=\"637\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg 1080w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with-300x300.jpg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with-1024x1024.jpg 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with-150x150.jpg 150w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with-768x768.jpg 768w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/h1>\n<h1><\/h1>\n<h1><strong>How to Install All Alt-PHP Packages on CloudLinux<\/strong><\/h1>\n<p>CloudLinux 8 allows hosting multiple PHP versions using <strong>Alt-PHP<\/strong>, giving administrators flexibility and control over PHP configurations. A common issue is that after installing an Alt-PHP version, only <strong>core modules<\/strong> appear in PHP Selector. Essential extensions like <code>mbstring<\/code>, <code>gd<\/code>, <code>mysqlnd<\/code>, and <code>xml<\/code> may be missing.<\/p>\n<p>The fastest and most reliable way to install all PHP extensions for your Alt-PHP versions is:<\/p>\n<pre><code class=\"language-bash\">yum -y groupinstall alt-php\r\n<\/code><\/pre>\n<blockquote><p>\u26a0\ufe0f <strong>Important:<\/strong> This command <strong>must be run as root<\/strong> or using <code>sudo<\/code> to install system-wide packages.<\/p><\/blockquote>\n<h2><strong>Why Use <code>yum -y groupinstall alt-php<\/code>?<\/strong><\/h2>\n<p>Installing a specific Alt-PHP version individually (for example, PHP 8.1):<\/p>\n<pre><code class=\"language-bash\">yum install alt-php81-cli alt-php81-devel alt-php81-php-fpm\r\n<\/code><\/pre>\n<p>only installs the <strong>core packages<\/strong>, not the full set of extensions.<\/p>\n<p><code>yum -y groupinstall alt-php<\/code> installs:<\/p>\n<ul>\n<li>All core Alt-PHP packages (<code>cli<\/code>, <code>fpm<\/code>, <code>common<\/code>, <code>devel<\/code>)<\/li>\n<li>Common PHP extensions: <code>mbstring<\/code>, <code>gd<\/code>, <code>xml<\/code>, <code>mysqlnd<\/code>, <code>pdo_mysql<\/code>, <code>intl<\/code>, <code>soap<\/code>, <code>opcache<\/code>, and more<\/li>\n<li>Ensures PHP Selector displays the <strong>full module list<\/strong><\/li>\n<\/ul>\n<h2><strong>Step-by-Step Guide<\/strong><\/h2>\n<h3><strong>Step 1: Log in as Root<\/strong><\/h3>\n<p>You must have root access to install Alt-PHP packages:<\/p>\n<pre><code class=\"language-bash\">sudo -i\r\n<\/code><\/pre>\n<p>or log in directly as the root user.<\/p>\n<h3><strong>Step 2: Verify CloudLinux Repositories<\/strong><\/h3>\n<p>Check that CloudLinux repositories are active:<\/p>\n<pre><code class=\"language-bash\">yum repolist | grep -i cloudlinux\r\n<\/code><\/pre>\n<p>You should see entries like:<\/p>\n<ul>\n<li><code>cloudlinux-8<\/code><\/li>\n<li><code>cl-ea4<\/code><\/li>\n<\/ul>\n<p>If your server isn\u2019t registered:<\/p>\n<pre><code class=\"language-bash\">clnreg_ks --force\r\n<\/code><\/pre>\n<h3><strong>Step 3: Install All Alt-PHP Packages<\/strong><\/h3>\n<p>Run the group install command:<\/p>\n<pre><code class=\"language-bash\">yum -y groupinstall alt-php\r\n<\/code><\/pre>\n<p>This will install <strong>all core packages and extensions<\/strong> for all installed PHP versions.<\/p>\n<h3><strong>Step 4: Refresh PHP Selector<\/strong><\/h3>\n<p>After installation, update PHP Selector to recognize the new modules:<\/p>\n<pre><code class=\"language-bash\">selectorctl --update\r\n<\/code><\/pre>\n<h3><strong>Step 5: Update CageFS (If Enabled)<\/strong><\/h3>\n<p>If CageFS is enabled on your server:<\/p>\n<pre><code class=\"language-bash\">cagefsctl --force-update\r\ncagefsctl --remount-all\r\n<\/code><\/pre>\n<p>This ensures all users see the new PHP modules.<\/p>\n<h3><strong>Step 6: Verify Installed Extensions<\/strong><\/h3>\n<p>Check installed extensions for a specific PHP version:<\/p>\n<pre><code class=\"language-bash\">\/opt\/alt\/php81\/usr\/bin\/php -m\r\n<\/code><\/pre>\n<p>You should now see:<\/p>\n<ul>\n<li><code>mbstring<\/code><\/li>\n<li><code>gd<\/code><\/li>\n<li><code>mysqlnd<\/code><\/li>\n<li><code>pdo_mysql<\/code><\/li>\n<li><code>xml<\/code><\/li>\n<li><code>intl<\/code><\/li>\n<li><code>soap<\/code><\/li>\n<li><code>opcache<\/code><\/li>\n<\/ul>\n<h2><strong>Benefits<\/strong><\/h2>\n<ul>\n<li>Installs all Alt-PHP packages and extensions in one command<\/li>\n<li>Saves time compared to installing individual packages manually<\/li>\n<li>Ensures PHP Selector shows all available modules<\/li>\n<li>Compatible with multiple PHP versions<\/li>\n<li>\u00a0Works seamlessly with CageFS in shared hosting environments<\/li>\n<\/ul>\n<h2><strong>Best Practices<\/strong><\/h2>\n<ul>\n<li>Always update repositories before installation:<\/li>\n<\/ul>\n<pre><code class=\"language-bash\">yum clean all\r\nyum makecache\r\n<\/code><\/pre>\n<ul>\n<li>Run <code>selectorctl --update<\/code> and <code>cagefsctl --force-update<\/code> after installation<\/li>\n<li>Verify modules with <code>\/opt\/alt\/phpXX\/usr\/bin\/php -m<\/code><\/li>\n<li>Repeat <code>groupinstall<\/code> when adding new PHP versions<\/li>\n<\/ul>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p><code>yum -y groupinstall alt-php<\/code> is the <strong>fastest and most reliable way<\/strong> to install all Alt-PHP packages and extensions on CloudLinux 8. Running the command with <strong>root privileges<\/strong> ensures full installation and proper PHP Selector integration, giving your server a complete, ready-to-use PHP environment.<\/p>\n<p>&nbsp;<\/p>\n<p>Check out our cheap and reliable <a href=\"https:\/\/hoganhost.com.ng\">web hosting<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install All Alt-PHP Packages on CloudLinux CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2894,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","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":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","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":[43],"tags":[273,274,279,277,276,243,280,278,275],"class_list":["post-2893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloudlinux-os","tag-alt-php","tag-cloudlinux-8","tag-cloudlinux-php-guide","tag-install-php-packages","tag-php-extensions","tag-php-selector","tag-root-access-php-install","tag-shared-hosting-php","tag-yum-groupinstall-alt-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install All Alt-PHP Packages on CloudLinux - HoganHost blog<\/title>\n<meta name=\"description\" content=\"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations\" \/>\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\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install All Alt-PHP Packages on CloudLinux - HoganHost blog\" \/>\n<meta property=\"og:description\" content=\"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\" \/>\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=\"2026-02-10T11:06:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to Install All Alt-PHP Packages on CloudLinux\",\"datePublished\":\"2026-02-10T11:06:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\"},\"wordCount\":351,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\",\"keywords\":[\"Alt-PHP\",\"CloudLinux 8\",\"CloudLinux PHP Guide\",\"Install PHP Packages\",\"PHP Extensions\",\"PHP Selector\",\"Root Access PHP Install\",\"Shared Hosting PHP\",\"yum groupinstall alt-php\"],\"articleSection\":[\"CloudLinux OS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\",\"name\":\"How to Install All Alt-PHP Packages on CloudLinux - HoganHost blog\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\",\"datePublished\":\"2026-02-10T11:06:07+00:00\",\"description\":\"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg\",\"width\":1080,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install All Alt-PHP Packages on CloudLinux\"}]},{\"@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 All Alt-PHP Packages on CloudLinux - HoganHost blog","description":"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations","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\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install All Alt-PHP Packages on CloudLinux - HoganHost blog","og_description":"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations","og_url":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2026-02-10T11:06:07+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg","type":"image\/jpeg"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to Install All Alt-PHP Packages on CloudLinux","datePublished":"2026-02-10T11:06:07+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/"},"wordCount":351,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg","keywords":["Alt-PHP","CloudLinux 8","CloudLinux PHP Guide","Install PHP Packages","PHP Extensions","PHP Selector","Root Access PHP Install","Shared Hosting PHP","yum groupinstall alt-php"],"articleSection":["CloudLinux OS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/","url":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/","name":"How to Install All Alt-PHP Packages on CloudLinux - HoganHost blog","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg","datePublished":"2026-02-10T11:06:07+00:00","description":"CloudLinux 8 allows hosting multiple PHP versions using Alt-PHP, giving administrators flexibility and control over PHP configurations","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2026\/02\/How-to-Install-All-Alt-PHP-Packages-on-CloudLinux-8-with.jpg","width":1080,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/cloudlinux-os\/how-to-install-all-alt-php-packages-on-cloudlinux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install All Alt-PHP Packages on CloudLinux"}]},{"@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\/2893","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=2893"}],"version-history":[{"count":2,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/2893\/revisions"}],"predecessor-version":[{"id":2896,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/2893\/revisions\/2896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/2894"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=2893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=2893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=2893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}