• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero® Blog

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
  • VPS
    • VPS Hosting
    • Flex VPS
  • Reseller
  • Email
  • Gaming
  • Domains
  • Website Builder
  • Account
  • Blog Home
  • Categories
  • Authors

Upgrading To PHP 7.2 And Using Other PHP Versions

Ryan Gray

Published on: February 22, 2019

Categories: Web Hosting 2

At the end of 2018, PHP 5.6 officially quit receiving security updates along with PHP 7.0.

Towards the end of quarter 4, our team worked around the clock to ensure our entire infrastructure was prepared for this change.

I’m proud to announce that PHP 7.2 is now the default PHP version across our entire network!

All new customers will have PHP 7.2 by default as well as customers who haven’t specifically selected their PHP version inside of cPanel.

Customize PHP On Your Account

We’ve long prided ourselves here at NameHero on giving our customers the ability to choose their own PHP version and customize it to the exact needs of their website.

Since we started up in 2015, we’ve been using CloudLinux with their PHP Selector that gives you this ability with ease.

Unlike the traditional versions of PHP, CloudLinux actually has their own alternate PHP versions that are updated and secured by them.

Therefore you can still run older versions (such as PHP 7.0 and 5.6) but they must be selected inside of cPanel.

How To Change PHP Version

To change the PHP version of your website, simply login to cPanel -> Select PHP Version:

PHP Selector In cPanel

From here, you can select the exact version of PHP you wish to use:

Select PHP Version

In a perfect world, you’d always use whatever the native (or the latest) version of PHP, but I understand that’s not always possible (i.e. running scripts that aren’t compatible).

Once you select your PHP version inside of the selector, this is the version your website will use (regardless what the native version is on the server).

Therefore it’s a good idea to re-visit this from time-to-time to see if you can’t upgrade for performance benefits.

How To Add PHP Extensions

If your website is running fine with the native version of PHP, you may still find the need to add a specific PHP extension for your website.

You can easily do this, by selecting the alternative version of PHP 7.2 which will bring up an extension list:

Add PHP Extensions

Simply select the checkbox next to the extension you need and click save.

If you accidentally make a selection that breaks your website, you can always revert back to the defaults by clicking Use Defaults.

PHP extensions that would cause a conflict with another won’t set but instead display an error.

How To Modify PHP Options (i.e. Upload/Memory Limit)

We frequently get tickets from customers asking how they can increase their PHP memory or upload limit.

This can also be accomplished right inside of the cPanel -> Select PHP Version.

From the same screen above used to add/modify PHP extensions, simply click the blue link in the top right corner that says Switch to PHP Options:

Switch To PHP Options

From here, you have all the same options that you would typically edit in a custom php.ini file. Notice the arrows beside memory_limit and upload_max_filesize:

PHP Options Showing Memory And Upload Limits

To change the value(s) you would simply click on the one you wish to change and select the new value from the dropdown:

Changing PHP memory_limit

One the new value is selected, you’d click Apply, then click Save.

Congratulations – now you have customized PHP for your website!

As mentioned above, as long as PHP is selected inside of cPanel the version will not change, regardless of what we set the system version to.

Managing PHP Inside cPanel

I’ve filmed a brief tutorial where I also walk through these steps and talk about the upgrade to PHP 7.2:

Video Tutorial On Customizing PHP Inside cPanel

If you have any questions, or team is available 24x7x365 via live chat, phone and our helpdesk!

Ryan Gray

Ryan Gray is the founder and CEO of NameHero, one of the fastest growing independent web hosts in the United States. Ryan has been working online since 1998 and has over two-decades experience in Internet Entrepreneurship.

Related Posts

The Best Web Hosting for Your Small Business In 2025

In this post, we'll take a look at key factors to consider when choosing a web hosting provider for your small businesses and recommend three!

Cloud Server vs. Physical Server: A Comprehensive Comparison

Understand the differences as your hosting environment directly impacts a business's ability to scale and adapt to changing demands.

3 Best Web Hosting Options for Students on a Budget

In this post, we'll list some essential elements to look for in student web hosting packages. Then, we'll explore the best web hosting for students.

The Best Blog Hosting for 2025

Let's take a closer look at what to look for when choosing a blog hosting service. Then, we'll explore three top choices.

Reader Interactions

Comments

  1. Kaizur Ahmed says

    October 6, 2019 at 2:41 am

    Is it possible to set PHP version individually for sub-domain? Thanks.

    Reply
    • Ryan Gray says

      October 9, 2019 at 4:18 pm

      Yes, but you would have to use a custom php.ini file inside of each sub domain directory for this. Inside cPanel you would go to Multi-PHP manager vs. Select PHP Version

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!


Most Popular Posts

NameHero’s Recommended WordPress Plugin and Theme Setup (2024)

WordPress Hosting vs. Web Hosting – What’s The Difference?

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • WordPress Tutorials
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero® proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • Email Hosting
  • Game Hosting
  • Domains
  • Website Builder
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2025 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA