Home  >  Article  >  Backend Development  >  How to change php7.1 on Pagoda

How to change php7.1 on Pagoda

PHPz
PHPzOriginal
2023-03-29 10:12:461122browse

How to change php7.1 on Pagoda

For users who use the Pagoda panel to build websites, the choice of PHP version is very important. On the Pagoda panel, multiple versions of PHP are installed by default. How to change the PHP version? This article will introduce how to change to PHP7.1 version in the Pagoda panel.

Step 1: Log in to the Pagoda Panel

First, we need to log in to the Pagoda Panel. After entering the Pagoda panel, click the "Website" option in the left menu and select the website for which you need to change the PHP version.

Step 2: Enter the PHP version selection page

In the website page you need to change, find the "General Settings" tab, and then click the "PHP Version" setting.

Step 3: Upgrade PHP version

In the "PHP Version" setting page, you can see all PHP versions in the current system. Find the option you need to change to PHP7.1 and click the "Upgrade" button to do so.

Step 4: Restart the service

The system prompts that the PHP version has been successfully upgraded. At this time, the service needs to be restarted for the changes to take effect. Click the "Restart" button at the top of the page and wait for the service to restart.

Step 5: Check whether the PHP version has been changed successfully

After restarting the service, you need to check whether the PHP version used by the current website has been changed to 7.1. In your website page, you can view PHP version information through the "phpinfo()" function. If the version number has been updated to 7.1, the operation is successful.

Summary

Changing the PHP version is very easy and only requires a few simple steps in the Pagoda panel. Reasonable PHP version selection has a vital impact on the performance and security of the website, so you need to carefully consider when selecting the PHP version to achieve the best website effect.

The above is the detailed content of How to change php7.1 on Pagoda. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn