How to Change the PHP Version in cPanel

Our hosting servers use CloudLinux PHP Selector, which allows you to change the PHP version for your websites and manage PHP extensions and configuration settings.

Step-by-Step Instructions

  1. Log in to cPanel using your hosting account credentials.

  2. Locate the Software section.

  3. Click Select PHP Version.

  4. At the top of the page, find the Current PHP version dropdown menu.

  5. Select your preferred PHP version from the available options.

  6. Click Apply to save your changes.

Important: The selected PHP version applies to all websites and domains hosted under the same hosting account.

Managing PHP Extensions

In the Extensions tab, you can enable or disable PHP modules required by your websites, such as:

  • mysqli — MySQL database connectivity.

  • mbstring — multibyte string support.

  • curl — HTTP requests and API communication.

  • gd — image processing.

  • zip — ZIP archive support.

  • intl — internationalization and localization.

Changing PHP Settings

Open the Options tab to configure PHP settings, including:

  • memory_limit — maximum memory available to PHP scripts.

  • upload_max_filesize — maximum uploaded file size.

  • post_max_size — maximum size of POST requests.

  • max_execution_time — maximum script execution time.

  • max_input_vars — maximum number of input variables.

Important Notes

  • Changing the PHP version affects all websites within the same hosting account. Make sure the selected version is compatible with all your websites.

  • Before changing the PHP version, verify that your CMS, plugins, and themes support the selected version.

  • We recommend using up-to-date PHP versions that receive security updates.

  • If your website stops working correctly after the change, try switching back to the previous PHP version.

  • If you experience any difficulties, please contact our technical support team.

  • PHP, версии PHP, PHP 7, PHP 7.1, PHP 7.2, PHP 5.6, PHP 5.3
  • 99 Users Found This Useful
Was this answer helpful?

Related Articles

Доступ к сайту по временной ссылке (Без направления домена)

После заказа, большинству клиентов, как правило, хотелось бы проверить корректность работы своих...

Какой сервер MySQL указывать при установке движка?

При установки какого либо движка (CMS), потребуется указать хост (host) к подключению базы...

Как создать базу данных MySQL в CPanel

При помощи панели управления cPanel вы можете создать одну или несколько баз данных MySQL.Что для...

В какую директорию нужно загружать сайт ?

Когда вы зашли по FTP или открыли Диспетчер файлов в CPanel, то директория для загрузки вашего...

Как быстро загрузить сайт (файлы) на FTP

Всем известно что когда вы копируете много мелких файлов на FTP, или на своем компьютере, с...