How to manage the PHP version in cPanel using the Select PHP Version toolSelect PHP Version or the PHP Selector enables each user on the server to have it's own, fully customisable and flexible PHP environment. Show
It allows the user to switch between different PHP Versions, such as PHP 5.2, PHP 5.3, PHP 5.6, PHP 7.0, PHP 7.1 as well as enable more than 120 PHP extensions and modules, like APC, MySQLi, GD, PDO, SOAP and etc., entirely based on the user's needs. Now, let's learn how to do that ourselves! Step 1: Login to your cPanelStep 2: Click on the Select PHP Version tool under Software:Step 3: Select the desired PHP version from the drop down list, then click on Set as current and Save the change:That's it! The new PHP version is already enabled for your user. If you want to enable or disable a PHP module, just select it or deselect it from the list and click on Save. You can also change the PHP options, by clicking on the Switch To PHP Options button: Here you can manage the PHP options, such as the allow_url_fopen, max_execution_time, memory_limit, upload_max_filesize and others: Make sure to click on the Save button at the bottom, in order to save your configuration! Should you need any further assistance, please do not hesitate to contact us. ChemiCloud uses CloudLinux as the OS on our servers to improve server stability. A major feature of CloudLinux is that each cPanel account can select the global PHP version they want to have for their websites. Need to set a different PHP version for an Addon Domain instead? If you want to set a different PHP version for on of your Addon domains, you can easily do so using a .htaccess handler as described in this guide. You can easily change the PHP version on your account by following these steps: How to change PHP version in cPanelInfo PHP 8.1 is now available at ChemiCloud for all environments. 1. Log in to your cPanel account. 2. Navigate to the Software section and click on Select PHP Version. cPanel > Software > Select PHP Version3. Click on the PHP Version drop-down box and select your preferred PHP version PHP Selector – PHP Version4. Click on Set as current button to save your PHP version change. It is important that you know which PHP version you need for your web applications, in order to avoid any unwanted mishaps. In case you see any error on your website once you’ve changed the PHP version, please revert back to the previous PHP version which your site was using. We hope this short article has been helpful and remember: never stop learning and as a result, you will develop your skills in no time!
Suppose you ever encounter problems with the way your server handles PHP packages or find WordPress requesting that you upgrade your PHP version. In that case, it is helpful to know how to view and modify your server's PHP. Updating your site's PHP version is vital for the security of your website. The latest security patches will be implemented whenever a new PHP version is released. This article discusses a few options for upgrading the PHP version in your hosting account. What You Should Know
How do I upgrade my site's PHP version?If your website needs a different PHP version, you will want to log in to your cPanel to manage the site's version. Important
Note:
MultiPHP Manager or PHP SelectorDepending on the version of cPanel you're using, you will use either MultiPHP Manager or PHP Selector to modify your PHP version. PHP Selector is being phased out, so you will most likely use MultiPHP Manager. To determine which one you have, you will need to:
Option 1 - MultiPHP ManagerThe video above may look slightly different than our current cPanel layout. However, the functionality described will be similar. Here are the instructions outlined in the video above. Curious as to what PHP version your website is using? A phpinfo file is what you need. To find out how to create a phpinfo file, please visit this article, How to create a phpinfo.php file.
If you previously used the PHP Selector to change your PHP version, there may be a handler in your .htaccess file that needs to be removed similar to this one:
For specific instructions on fixing Missing MySQL Extension errors, please refer to our support article How to Fix Error After MultiPHP upgrade. Option 2 - PHP SelectorThis will be sunset, and few will have it available.The PHP Selector can be seen in some Shared servers. However, it may be time to say goodbye to this feature very soon, as you may no longer see the PHP Selector available in your cPanel. If you still have the PHP Selector, click the expand below for the instructions. The PHP Selector allows users on Shared and Reseller servers to quickly enable a specific PHP version for a site. To upgrade the PHP version of a site using the PHP Selector, please watch this video. The video above may look slightly different than our current cPanel layout. However, the functionality described will be similar. Here are the instructions outlined in the video above.
When using PHP Selector, upgrades are applied recursively. Any upgrade you apply to a directory will also apply to all subdirectories unless you apply a different directive to one of those subdirectories. Therefore, to use a different PHP version for an addon domain, you must navigate the document root for the addon domain and select the appropriate PHP version. Need a bit more help? Contact HostGator support via phone or Live Chat, and we will be happy to assist you! How do I update PHP version in cPanel?Want to know your website's PHP version?. Log into cPanel.. In the Software section, click the PHP Selector icon.. Navigate to the directory of the website you wish to upgrade the PHP. ... . Select the version of PHP you want to use from the dropdown menu, then click upgrade.. How do I update PHP 7.4 in cPanel?Kinsta has very simple PHP setting option.. Select your site.. Click on Tools from left sidebar.. Choose PHP Engine.. Click on Modify.. And Select PHP 7.4.. How do I install the latest version of PHP?Follow the below steps to install PHP on Windows: Step 1: Visit https://www.php.net/ website using any web browser and click on Downloads. Step 2: Click on the Windows “Downloads” button. Step 3: The new webpage has different options, choose the Thread safe version, and click on the zip button and Download it.
How do I find my PHP version in cPanel?Viewing Your PHP Version in cPanel. Log into cPanel.. Under General Information on the right panel, click Server Information.. Under the Item column, find PHP Version.. In the Detail column, note the version number.. |