Home WebServer PanelFastPanel How to install multiple versions of PHP on FASTPANEL

How to install multiple versions of PHP on FASTPANEL

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

By default, after installing FASTPANEL, we only have the default PHP 5.4 version to use. But, if we want to use higher PHP versions like PHP 7.3, PHP 7.4… then we need to install more. And in this article, AZDIGI will show you how to install multiple PHP versions on FASTPANEL for ease of use.

Screen Shot 2020 09 23 at 8.45.29 AM 1
When creating a new page, you only have 1 option is php5.4

I. What is FASTPANEL?

FASTPANEL is an outstanding free web control panel with a lot of features such as:

  • Create a website with just a few clicks.
  • Email management.
  • Database management.
  • Manage backup/restore to the cloud.
  • Website traffic analysis.
  • Create user.
  • Two-factor authentication is supported.
  • SSL support.
  • Support Firewall.
  • Support Cron.
  • Supports multiple PHP versions.
  • Integrated AI-BOLIT malware scanning.
  • Integrated Spam Asasin.
  • Supports command manipulation without SSH through the console.
  • And many other features…

Below is the FASTPANEL interface:

install FASTPANEL into CentOS 7

II. How to install multiple versions of PHP on FASTPANEL

To install multiple PHP versions on FASTPANEL, follow these 3 steps.

Step 1: Access the FASTPANEL admin page

To access the FASTPANEL interface, you access the link in the form https://IP:8888 on your browser (replace IP to your VPS or FASTPANEL server IP)

Below is my FASTPANEL interface:

Screen Shot 2020 09 07 at 11.44.28 PM

Step 2: Install multiple versions of PHP on the FASTPANEL interface

After accessing the FASTPANEL interface, follow the order below:

install multiple versions of PHP on FASTPANEL
Click the list button in the upper left corner to access the list of FASTPANEL features.
Screen Shot 2020 09 23 at 9.44.07 AM
Continue to scroll down below and select Applications to access the control panel to install multiple PHP versions on FASTPANEL.
Screen Shot 2020 09 23 at 10.06.42 AM
At the Applications interface, you search with the keyword php to easily see a list of supported PHP versions for installation.

In the image above, I have outlined 3 areas:

  • Area 1: Application search area.
  • Area 2: List of installable supported PHP versions.
  • Area 3: Action area, you can install or uninstall applications.

I will choose to install PHP 7.4. and after clicking the install button, you will get the installation process message as shown below:

Screen Shot 2020 09 23 at 10.15.38 AM

Please wait a few minutes for the installation process to take place, the installation time will be fast or slow depending on the strength of your VPS/Server and your bandwidth.

Screen Shot 2020 09 23 at 10.21.59 AM

After the message is no longer displayed, the installation is complete. You can recheck the installation log at the following path:

AZDIGI Tutorial
https://IP:8888/#/tasks
    

Remember to change IP to the IP address of your VPS/server.

Step 3: Select the newly installed PHP version

Try adding a new website to the PHP selection step, you need to choose a different PHP mode than Apache module to be able to choose a new PHP version.

Screen Shot 2020 09 23 at 10.54.35 AM

So you have completed the steps to install multiple PHP versions on FASTPANEL. Similarly, you can install other PHP versions if you want.

III. Summary

Hopefully, through this article, you have learned how to install multiple versions of PHP on FASTPANEL and how to choose the PHP version when creating a new website.

Đá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