What ALT-PHP versions and PHP extensions can CloudLinux v8.8.0 STANDARD kvm install?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SAGARA
    Junior Member
    • Feb 2026
    • 7

    #1

    What ALT-PHP versions and PHP extensions can CloudLinux v8.8.0 STANDARD kvm install?

    Hello, I'm a cPanel user on the terminal.

    But We've been renting a VPS for the past few years, which means I have to learn how to maintain my own WHM server.

    When I see other people's cPanel virtual hosting, I want to learn how to install the same PHP version and PHP extensions, Can my OS do this?

    PHP 8.0 to 8.5



    Click image for larger version

Name:	image.png
Views:	61
Size:	136.8 KB
ID:	40842
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1279

    #2
    Do you plan to use cPanel to sell hosting or just to host your own websites? The main purpose of CloudLinux with Hardened PHP is not just to provide different PHP versions/modules, but to provide the easy and fair way to assign resources to customers on shared hosting, and to make it more secure with CageFS.

    If you want to sell shred hosting - CloudLinux OS + Hardened PHP is the option for you.

    Comment

    • SAGARA
      Junior Member
      • Feb 2026
      • 7

      #3
      I currently only have a cPanel account using a single domain, We rented a VPS + CloudLinux + cPanel WHM simply because the virtual host couldn't accommodate my file size. (I don't think we're any different from regular cPanel users.)

      However, we have indeed encountered a technical bottleneck.

      I'm unsure if we have configured PHP + MariaDB correctly.

      All I can say is that we need help right now.

      Comment

      • bogdan.sh
        Administrator
        • Nov 2016
        • 1279

        #4
        Ah, you already have CloudLinux, that's a big difference. Installing additional PHP version is quite easy, just login to that server over ssh as root and run this commands:

        Code:
        yum groupinstall alt-php80
        
        yum groupinstall alt-php83
        Then check WHM > CloudLinux Manager > Selector to ensure they are enabled for end-customers (by default they are enabled, so should be good).

        And so they become available to be used per hosting accounts.

        Comment

        • SAGARA
          Junior Member
          • Feb 2026
          • 7

          #5

          Thank you for your reply.

          Let me tell you about the current situation, A few days ago, my hosting company installed PHP versions 8.2 and 8.3 on PHP Selector for me.

          I also installed some PHP versions and PHP extensions through EasyApache 4, This might cause a mysqli conflict between two different PHP versions.

          Therefore, I will temporarily switch back to PHP 8.0 for use.

          My Attachments lists the PHP Selector extensions installed by my hosting company, which differ from the extension lists installed by other hosting companies.

          Can my OS version have the same PHP and extension features as everyone else?


          Attached Files

          Comment

          • bogdan.sh
            Administrator
            • Nov 2016
            • 1279

            #6
            Let me rephrase to ensure we are on the same page.

            You previously had a shared cPanel account with some hosting.
            Now, you rent your own VPS with CloudLinux OS and cPanel, hosting your website there.
            You want to have the same PHP extensions installed as shown in the first screenshot from your previous hosting company.

            Have you installed alt-php83 or alt-php84 using the commands I outlined in the previous step?

            Currently, check WHM > MultiPHP Manager > System Settings for the PHP package selected for the desired PHP 8 version, and explicitly select alt-php8x there. Here is the screenshot for alt-php8.3 from our test server.

            Attached Files

            Comment

            • SAGARA
              Junior Member
              • Feb 2026
              • 7

              #7
              Yes, This is my current situation.

              I have administrative privileges for cPanel WHM.


              Click image for larger version

Name:	image.png
Views:	13
Size:	197.3 KB
ID:	40852
              I following the guidance of my hosting company, I installed the specified PHP version and extensions using EasyApache 4.

              Click image for larger version

Name:	image.png
Views:	12
Size:	164.7 KB
ID:	40853
              The engineer also installed the following versions for me in PHP Selector:
              php 8.1
              php 8.2
              php 8.3​

              And install some extensions of php 8.1, But he told me that due to my OS version, the number of PHP extensions I could install was limited:

              Click image for larger version

Name:	image.png
Views:	12
Size:	125.4 KB
ID:	40854
              Click image for larger version

Name:	image.png
Views:	12
Size:	131.5 KB
ID:	40855​Is this correct?

              Please forgive me for replying so late.​

              Comment

              • bogdan.sh
                Administrator
                • Nov 2016
                • 1279

                #8
                It's incorrect in general, php extensions are not commonly related to OS version (with some minor exceptions).

                What profile is being selected in EeasyApache? Can you please show the screenshot of the first page of it, where it says "Currently installed packages" and "Available Profiles"?

                I guess you are missing the alt-php83-pecl-ext package, could you please ask your engineer to install it either from EasyApache or from commandline. And then do same for other php versions.
                Last edited by bogdan.sh; 03-09-2026, 10:54 AM.

                Comment

                • SAGARA
                  Junior Member
                  • Feb 2026
                  • 7

                  #9
                  Thank you for your reply.

                  This is my EasyApache 4 information:

                  Click image for larger version

Name:	image.png
Views:	7
Size:	205.8 KB
ID:	40858

                  Current Profile


                  The currently installed packages on the server.
                  Apache 2.4
                  • config
                  • config-runtime
                  • mod_asis
                  • mod_authn_anon
                  • mod_authn_socache
                  • mod_bwlimited
                  • mod_cgid
                  • mod_cpanel
                  • mod_deflate
                  • mod_env
                  • mod_expires
                  • mod_ext_filter
                  • mod_headers
                  • mod_hostinglimits
                  • mod_http2
                  • mod_mime_magic
                  • mod_mpm_worker
                  • mod_proxy
                  • mod_proxy_connect
                  • mod_proxy_express
                  • mod_proxy_fcgi
                  • mod_proxy_fdpass
                  • mod_proxy_ftp
                  • mod_proxy_html
                  • mod_proxy_http
                  • mod_proxy_wstunnel
                  • mod_remoteip
                  • mod_reqtimeout
                  • mod_request
                  • mod_security2
                  • mod_ssl
                  • mod_suexec
                  • mod_unique_id
                  • mod_version
                  • mod_vhost_alias
                  • tools
                  PHP 7.3
                  • libc-client
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ioncube10
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcache
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-xmlrpc
                  • php-zip
                  • runtime
                  PHP 7.4
                  • libc-client
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ioncube10
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcache
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-xmlrpc
                  • php-zip
                  • runtime
                  PHP 8.0
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  PHP 8.1
                  • libc-client
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ioncube14
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  PHP 8.2
                  • libc-client
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  PHP 8.3
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-imap
                  • php-intl
                  • php-ioncube14
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  PHP 8.4
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-intl
                  • php-ioncube14
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-opcache
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  PHP 8.5
                  • pear
                  • php-bcmath
                  • php-bz2
                  • php-calendar
                  • php-cli
                  • php-common
                  • php-curl
                  • php-dba
                  • php-devel
                  • php-enchant
                  • php-exif
                  • php-fileinfo
                  • php-fpm
                  • php-ftp
                  • php-gd
                  • php-gettext
                  • php-gmp
                  • php-iconv
                  • php-intl
                  • php-ldap
                  • php-litespeed
                  • php-mbstring
                  • php-memcached
                  • php-mysqlnd
                  • php-odbc
                  • php-pdo
                  • php-posix
                  • php-snmp
                  • php-soap
                  • php-sockets
                  • php-sourceguardian
                  • php-tidy
                  • php-xml
                  • php-zip
                  • runtime
                  其他方案
                  • apr
                  • apr-util
                  • brotli
                  • cpanel-tools
                  • documentroot
                  • libargon2
                  • libcurl
                  • libcurl-devel
                  • libicu
                  • libmcrypt
                  • libnghttp2
                  • libnghttp2-devel
                  • libtidy
                  • libxml2
                  • libzip
                  • memcached
                  • modsec-sdbm-util
                  • nghttp2
                  • oniguruma
                  • oniguruma-devel
                  • openssl
                  • openssl-devel
                  • openssl11
                  • openssl11-devel
                  • php-cli
                  • php-cli-lsphp
                  • profiles-cpanel
                  • wappspector
                  ​I think these are all versions of EA-PHP in "EasyApache 4 > PHP Versions".

                  Code:
                  yum groupinstall alt-php82
                  The PHP 8.2 and PHP 8.3 versions installed for me by the engineer did not include mysqli or other extensions, The one-time paid maintenance has ended, so I have to rely on myself now.

                  Do you mean I need to execute the instructions you gave me again if I want to use the PHP Selector?

                  PS. How can I remove unnecessary PHP versions and files from ALT?
                  4.4
                  5.1
                  5.2
                  5.3
                  5.4
                  5.5
                  5.6
                  7.0
                  7.1
                  7.2​

                  Thank you for your help.

                  Comment

                  • bogdan.sh
                    Administrator
                    • Nov 2016
                    • 1279

                    #10
                    I just went intalling brand new test machine with same CloudLinux 8 version and cPanel, and got the necessary php extensions available:
                    Click image for larger version

Name:	Screenshot_20260311_145724.png
Views:	0
Size:	198.9 KB
ID:	40860


                    The next step is important, please open your EasyApache 4 from WHM , click on Customize currently selected options and after a few steps you will get to PHP versions menu, this is the place where you can uninstall unnecessary PHP versions from. Also, please show the screenshot of what they look like (pay attention to my screenshot where it says "alt" tag is used next to the package):

                    Click image for larger version

Name:	Screenshot_20260311_145837.png
Views:	0
Size:	212.5 KB
ID:	40861


                    Let me know how it goes.

                    Comment

                    • SAGARA
                      Junior Member
                      • Feb 2026
                      • 7

                      #11
                      Thank you for your help.

                      You are my hero, This is exactly what I needed.

                      But I need to discuss it with my boss before deciding whether to execute the command and install it.

                      Please let me confirm the following terminal command with you:

                      Install the specified PHP version:

                      Code:
                      yum groupinstall alt-php8*
                      Install the PHP extensions package for the specified PHP version.

                      Code:
                      yum alt-php8*-pecl-ext
                      Can I automate the entire process by simply entering these two commands in the terminal? (This includes overwriting some existing standalone extensions)

                      Because the engineer installed ioncube_loader in version 8.2, I'm unsure if the commands in the expansion package will be executed correctly.

                      EasyApache 4:
                      PHP Versions

                      Does the "alt" tag only appear when the command you provided is executed?

                      This is the current situation.

                      Click image for larger version

Name:	image.png
Views:	2
Size:	71.6 KB
ID:	40863

                      Thank you for your help.​

                      Comment

                      • bogdan.sh
                        Administrator
                        • Nov 2016
                        • 1279

                        #12
                        Sorry to say, but I do not see the "alt" tag on a screenshot here. Something is still not Ok. The yum groupinstall are actually same as packages being enabled here in EasyApache 4 page. You either select them in WHM>EasyApache 4 or use command line.


                        Let's do the following - open EasyApache 4, then click Customize next to "CloudLinux" version of profile, and check if there are php versions tagged with "alt" . And if they are - that would be best option to switch profile to. Here is your screenshot from few posts before.

                        Click image for larger version

Name:	Screenshot_20260312_103040.png
Views:	0
Size:	317.3 KB
ID:	40865

                        Comment

                        Working...