Selecting the version of php in cPanel

Description of changing the version of php using the built-in MultiPHP module in the cPanel control panel.

In cPanel, the MultiPHP module is installed, which allows you to independently change the PHP version to one of the available versions: 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3

By default, the Hosting is set to version 7.2.

In order to change the php version you need to go to "Software → MultiPHP Manager"

file

file

You can also set the PHP version for a domain via Billing under "Advanced → PHP Versions "

file


In order to see the display of the selected PHP, current configuration and version we create a text document info.php and place it in the public_html folder.

Open this document and type in:

<?php
phpinfo();
?>

Save the file.

Open a browser and type in the address bar:

  • your_site/info.php..

Press Enter and we see the PHP status page:

file


Help

If you have any questions or need assistance, please contact us through the ticket system — we're always here to help!

Need help?Our engineers will help you free of charge with any question in minutesContact us