How to Change PHP Versions in cPanel Using MultiPHP Manager Print

  • 2

How to Change PHP Versions in cPanel Using MultiPHP Manager, Supported PHP Versions, and Understanding PHP Info Files
In this article, we will discuss the process of changing PHP versions in cPanel using the MultiPHP Manager, the major PHP versions supported by Domain India, and the purpose of a PHP info file, along with a sample code. Keeping your PHP version updated is essential for the security and functionality of your website. DOMAIN REGISTRATION INDIA PRIVATE LIMITED is committed to providing the best web hosting solutions, and we support all major PHP versions.

Section 1: Changing PHP Versions in cPanel Using MultiPHP Manager

1. Log in to your cPanel account on www.domainindia.com.
2. Navigate to the "Software" section and click on the "MultiPHP Manager" icon.
3. You will see a list of your domains and their current PHP versions. Select the domain for which you want to change the PHP version by checking the box next to it.
4. In the "PHP Version" dropdown menu at the top right of the page, you will see a list of available PHP versions. Choose the desired PHP version and click on the "Apply" button.
5. Your PHP version has now been updated. The new PHP version will be displayed next to your domain in the list.

Section 2: Supported PHP Versions by Domain India

Domain India supports the following major PHP versions:

  • PHP 5.6
  • PHP 7.2
  • PHP 7.3
  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.1
    Keeping your PHP version up-to-date is crucial for your website's security and compatibility with the latest scripts and web applications.

Section 3: Understanding PHP Info Files

A PHP info file is a diagnostic tool used to display information about your server's PHP configuration. It provides details about the PHP version, extensions, and various server settings. Creating a PHP info file can help you troubleshoot issues related to your website's functionality and performance.

Sample Code for Creating a PHP Info File:

1. Open a plain text editor (such as Notepad) and create a new file.
2. Copy and paste the following code into the file:


<?php
phpinfo();
?>

3. Save the file as "phpinfo.php" and upload it to your server's root directory using an FTP client or cPanel's File Manager.
4. To view the PHP info file, open your web browser and navigate to "http://yourdomain.com/phpinfo.php" (replace "yourdomain.com" with your actual domain name).

Remember to remove the PHP info file from your server after reviewing the information, as it may expose sensitive server information to potential attackers.

Conclusion:
Changing the PHP version in cPanel using the MultiPHP Manager is a simple process, and Domain India supports all major PHP versions to ensure compatibility with the latest web applications. Understanding how to create and use a PHP info file can help you diagnose issues with your server configuration. If you require further assistance, please don't hesitate to submit a ticket to our support team at https://www.domainindia.com/login/submitticket.php?step=2&deptid=1.


Byla tato odpověď nápomocná?

<< Zpět