Home WebServer PanelHestiaCP How to MultiPHP options on HestiaCP

How to MultiPHP options on HestiaCP

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

MultiPHP on HestiaCP makes it easy to switch PHP versions for each website flexibly and conveniently. Let’s find out with AZDIGI.

I. Overview

Currently, the Selector PHP function is only available on CloudLinux-installed services, a useful and important feature for control panels. Most of the free controls currently support MultiPHP features with users’ needs. MultiPHP is similar to CloudLinux’s PHP Selector.

MultiPHP allows users to customize and set up each website to use a certain version of PHP. Suppose you have 3 websites and the source code of 3 specific websites needs to use different versions of PHP, such as:

  • Web A: PHP 5.6
  • Web B: PHP 7.0
  • Web C: PHP 7.4

HestiaCP will help you solve this problem with the optional MultiPHP function, please follow along.

II. Customize MultiPHP on HestiaCP

To use MultiPHP on HestiaCP, make sure that when you install HestiaCP, you have the Option MultiPHP ticked. Because if you have not checked this option, your server will not have MultiPHP attached. If you have not installed HestiaCP, please refer to the following article for a complete HestiaCP installation.

Step 1: Log in to HestiaCP in User

To log in to the User to MultiPHP on HestiaCP, click on the => ⏩ icon, as shown below. Or you can log in directly from https://my-ip:8083 with the user and password created earlier.

MultiPHP on HestiaCP

Step 2: MultiPHP option on HestiaCP

Click on the “pen” 🖋 icon to enter the Edit Web Control interface.

Screenshot 2020 11 15 at 21.57.16@2x

In the Backend Template PHP-FPM section, there are many pre-installed PHP versions and you just need to choose the version you need to use and save.

Screenshot 2020 11 20 at 22.53.50@2x

Step 3: Check the PHP version

To check the PHP version, you can quickly create an info.php file at my-domain/public_html/info.php with the following content:

 

After creating it, go to my-domain/info.php and it will show the PHP version & the extensions installed under that version.

As the illustrations below, I customize 3 versions:

  • Illustration 1: I choose PHP version 5.6
Screenshot 2020 11 20 at 23.05.21@2x
  • Illustration 2: I choose PHP version 7.2
Screenshot 2020 11 20 at 23.03.54@2x
  • Illustration 3: I choose PHP version 7.4
Screenshot 2020 11 20 at 23.04.49@2x

Although it is a free control, Hestia still fully supports the necessary features for a webmaster. I like this control Panel because it allows me to install and tweak many things. In the following articles, AZDIGI will guide you through configuring more advanced features, such as support modules for control and help speed up the website. Stay tuned!

III. Summary

Hopefully, this article will help you to manage the server using HestiaCP professionally and better. From there, you can rest assured to choose the service and install the control to suit your individual needs.

Wishing you success!

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign