
We try to make things as easy as possible for our customers here at Name Hero.
Specifically, we’ve optimized our entire managed cloud for WordPress to allow both our Basic and Reseller Hosting customers that ability to create and manage there sites without all the guesswork of some other web hosts.
In years past, customers had to create custom php.ini files in order to modify their WordPress upload limit, change their PHP version, and increase their memory limit.
For some WordPress beginners this can be very confusing. Heck, I’ve been doing this for almost two-decades and I think it’s a pain to setup a custom php.ini file!
We’ve simplified this process by introducing PHP selector into all cPanel accounts.
If you’re attempting to upload files on your new WordPress theme or are getting errors that you need to increase your upload size or memory limit, they can easily be solved by following these directions:
- Login to cPanel
- Click Select PHP Version
- From the drop-down menu, select 5.5 (if you’re wanting to keep default) and click Set as current
- Once this has been selected you’ll notice a new link on the left that says Switch To PHP Options, click on that.
- From here, you can edit any values to best meet your WordPress installation:
Once you edit the values, make sure you click Save so they will take effect.
If you want to double check to make sure everything is in order, you can do so by creating a PHP info file.
To do this, upload a file in your home public_html directory called info.php. Inside of it, put this text:
<?php // Show all information, defaults to INFO_ALL phpinfo(); ?>
You can then navigate to http://www.yourdomain.com/info.php and verify all the settings took effect.
I also filmed a short video that explains how the PHP selector works in a bit more detail:
While we try to make this process as painless and easy as possible, you’re always free to reach out to our Heroic Support team for further clarification!
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.
One thing that held me up a little is that the PHP version was set to “(native) 7.2”, which wouldn’t allow me to change PHP settings. I discovered that if it’s set to “7.2” without the “(native)” it worked. It took me a few minutes to figure that out.
Thanks for your comment and sorry for the confusion.
“Native” means this is what the server/node uses as default. While it can be manipulated using a custom php.ini file, the problem you eventually run into, is when we upgrade the system default PHP version again. If everything inside your account doesn’t line up with it, it could potentially break the website. Therefore when you manually select PHP 7.2 inside the selector, it runs off an Alt version of PHP that is always updated and secured regardless of what the ‘official’ status is within the PHP Community.
When the next version of PHP comes out, and you’re certain your website is ready, you can easily select it inside of here and will be off and running with ease!
Let me know if I can help explain further!