This article covers How to change the PHP version and additional PHP settings in cPanel.
- Changing the PHP Version.
- Changing the PHP Settings.
How to Change the PHP Version?
1.You’ve to first Log in to cPanel.
If you are facing problems logging into your cPanel
2.Go to the Software Section of the cPanel Home Screen and then click Select PHP Version
If you can’t find the Select PHP Version in the Software Sectionthen your software might be outdated and doesn’t support this feature.
3.Currently, the present PHP Version is being displayed. In order to change the PHP Version go to the Current PHP Version, then you’ve to select the desired version you want.
Now the desired PHP Version will be effectively changed.
Also Read: What is cPanel?
How to Change the PHP Settings?
In order to change the PHP version from the cPanel, you may desire to various PHP settings. The PHP extensions may be enabled or disabled, as well as configuration directives such as allow_url_fopen, error_log and many more.
The features remove the need to configure and maintain custom php.ini files. Without doing that instead you all control all the PHP settings directly.
1.First of all Log in to cPanel.
If you won’t find any clue to log in to cPanel then refer this.
2.Then go to the Software Section of the cPanel Home Screen and click the Select PHP Version.
If you can’t find the Select PHP Version in the Software version then your software is outdated and doesn’t support this feature.
3.You may now select which extension you want to enable for your current PHP Version.
- In order to enable an extension, you’ve to select the check box next to the extension name.
- In order to disable an extension, you’ve to clear the check box next to the extension name.
- Your selections are successfully saved.
If in case you need to reset your configuration that is the extension list then click on Reset to Default in the top right corner.
4.If you want to change the settings for the current PHP Version then:
- n the top of the page, click on the Options tab
- In order to modify click on the desired value next to the settings.
- Then on your desired settings, a list box will appear with preset settings to choose from. Or else a text box may appear where you can type the value you want.
- Your changes would be saved automatically and will be effectively shown.
When you are modifying you’re desired setting a Reset to Default link will appear below the settings tab. You’ve to click on that link to change the settings back to the normal customized version.
Also Read: Most Popular Control Panels.
Create A Beautiful Website
You want to create a website for your business click the below button.
Buy Best Hosting For Website
Hostguid listed many hosting plans so you can easily compare many hosting companies hosting packages for your website.
Frequently Asked Question
Can I update the PHP version in cPanel?
Log in to cPanel. Select MultiPHP Manager in the Software section. Select the domain you want to update by checking the box on its left side. Choose your preferred PHP version from the dropdown, then click Apply.
How do I update the PHP version in the control panel?
Log into your control panel, locate the “Select PHP Version” tab. Click it. On the next page, you will see your website’s PHP current version. Select the latest version from the drop-down menu.
How can I check my PHP version?
1. Type the following command, replacing [location] with the path to your PHP installation. 2. Typing PHP -v now shows the PHP version installed on your Windows system.
Why is PHP so bad?
Developers hate PHP because it’s a technically inconsistent language with a bad design. When you compare it to other languages the contrast is obvious. It’s very easy to make bad and insecure code with PHP. But PHP is not a security hole or doomed to ugly code if your code properly.
Is PHP better than Nodejs?
Quick Summary:- PHP and Node. js are highly recommended backend technologies for the web. While PHP has been long considered ideal for server-side scripting, Node. js perfectly meets the development needs of modern web applications.