Home  >  Article  >  Backend Development  >  How to change the PHP version of the virtual host

How to change the PHP version of the virtual host

(*-*)浩
(*-*)浩Original
2019-09-10 09:29:073043browse

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".

How to change the PHP version of the virtual host

So how to change the PHP version of the virtual host? Let's take Western Digital's virtual host as an example to introduce how to change the PHP version.

Log in to the web space management backend you purchased; (Recommended learning: PHP programming from entry to proficiency)

How to change the PHP version of the virtual host

##Click [Virtual Host Management]-[Enter Advanced Management] on the left menu;

How to change the PHP version of the virtual host

Click [Manage] of your virtual host, and then click [Enter Advanced Management];

How to change the PHP version of the virtual host

## Click [PHP Version] under [Common Management Function Navigation];

How to change the PHP version of the virtual host## Select a PHP version and click [OK] 】. In this way, the PHP version of the virtual host will be changed.


The above is the detailed content of How to change the PHP version of the virtual host. 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