We use a virtual host to build a website. When installing certain programs, you will be prompted to "upgrade PHP version". This is because the default PHP version of the virtual host is the commonly used PHP5.3 version. . This PHP version does not support some programs, so it prompts "Upgrade PHP version".
So how to change the PHP version of the virtual host?
Step 1: Log in to the web space management backend you purchased
Step 2: Click on the left menu [Virtual Host Management]-[Enter Advanced Management]
## Step 3: Click [Manage] of your own virtual host ], and then click [Enter Advanced Management]
## Step 4: Click [Common Management Function Navigation] under [Common Management Function Navigation] PHP version]
Step 5: Select a PHP version and click [OK]. In this way, the PHP version of the virtual host has been changed.
You can easily switch the PHP version through the above content. The above content is for reference only. !
Recommended video tutorial:
PHP video tutorialThe above is the detailed content of How to change the php version of virtual host. For more information, please follow other related articles on the PHP Chinese website!