Home  >  Article  >  Backend Development  >  Does vps support php?

Does vps support php?

(*-*)浩
(*-*)浩Original
2019-09-11 11:26:123441browse

Because some small and medium-sized enterprises or start-ups do not have very high website traffic and space requirements in the early stage, they choose lower-cost VPS hosts. Compared with other virtual hosts, VPS hosting requires configuring a space environment to build a website.

Does vps support php?

VPS (Virtual Private Server) technology is a high-quality service that divides one server into multiple virtual private servers. Let’s take a closer look at how the VPS host configures the PHP environment.

1. Log in to the VPS host (recommended learning: PHP programming from entry to proficiency)

The VPS host requires remote login, open the remote login page, and enter the VPS host IP address and the password for remote login.

Does vps support php?

2. Install PHP software

After logging in to the VPS host remotely, go to the relevant website to download the PHP software. Then upload the PHP software to the VPS host through FTP, and finally install the uploaded PHP software.

Does vps support php?

Note: You can choose any hard disk as the installation address of PHP software. Generally, it is installed to the C drive by default. When the PHP software is installed, a PHP configuration file will be automatically written to the system disk. If not, you need to manually copy the PHP configuration file to the disk.

3. PHP environment configuration

(1) Open the iis information service manager, and then you need to enable web service extensions to allow PHP extensions.

Does vps support php?

(2) Find the website where you need to configure the PHP environment, click "right-click" -> "Properties" -> "Home Directory".

Does vps support php?

(3) In the home directory interface, click "Configuration" -> "Mapping" -> "Add", executable file: click Browse to find php5isapi in the php directory .dll file; fill in the extension as: PHP.

Does vps support php?

(4) Return to the "Properties" interface of the website, click "ISAPI Filter", and add the executable file directory: Find the php5isapi.dll file in the php directory by browsing. Then click "OK".

Does vps support php?

The above is the detailed content of Does vps support php?. 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