How to upgrade your PHP version InMotion Hosting ContributorUpdated on May 17, 2023 2 Minute Read InMotion Hosting offers PHP hosting with servers that cater to different PHP versions to meet individual customer requirements. Dedicated and VPS server users can upgrade to newer PHP versions if needed. On Shared servers (not available on all servers), PHP versions can be changed through cPanel. Information regarding supported PHP versions in AlmaLinux 8 is also provided. Switching the PHP Version in cPanel Upgrading on a VPS or Dedicated Server If You Cannot Change the PHP Version in cPanel PHP Versions Supported in AlmaLinux 8 Switching the PHP version in cPanel On many of our newer servers, you can switch the PHP version through your cPanel. To learn how to change the PHP version, see our article on How to change the PHP version your account uses. Upgrading on a VPS or Dedicated server On VPS and Dedicated servers, you can upgrade the server PHP version through your WHM. For information on how to do this see our How to Upgrade PHP Using EasyApache article. If you cannot change the PHP version in cPanel If you do not have a VPS or Dedicated server and you cannot change the PHP version in cPanel then you will need to contact tech support to have your account moved to a server with a newer version of PHP. Moving your account to another server will not have any downtime. The account move is done by our systems support so no action is required on your end. When submitting a ticket for this, please let them know what version of PHP you need and verify the account with the last 4 digits of the credit card on file and our systems support will move you ASAP. PHP Versions Supported in AlmaLinux 8 If you are using AlmaLinux 8, then only the following versions of PHP are available through EasyApache 4: PHP 7.2 PHP 7.3 PHP 7.4 PHP 8.0 PHP 8.1 The following versions PHP will not be available when using AlmaLinux 8. PHP 5.4 PHP 5.5 PHP 5.6 PHP 7.0 PHP 7.1 In order to see the most recent PHP versions available, you can run the following command: repoquery --repoid=EA4 --queryformat="%{name}" | grep -Eoh "ea-php[0-9]{2}" | sort | uniq 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. Summarize and Research with AIShare on Social Media Related Articles Enable HSTS in Cloudflare for Stronger SSL Security How to Enable DNSSEC with Cloudflare Configuring Jetpack to work with Cloudflare AutoSSL with Cloudflare Enable Under Attack Mode in Cloudflare How to Set Up Cloudflare with InMotion Hosting How to Verify Your Website With Google Search Console How to Create Your Own Git Server How to Keep Regular Backups for Reseller Accounts How to Cancel Your Backup Manager Subscription