Home > Operation and Maintenance > Windows Operation and Maintenance > A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

黄舟
Release: 2017-06-05 09:41:33
Original
2413 people have browsed it

Server version: Windows Server 2008 R2 Enterprise

Usually build a PHP website, can be run on the linux server It can be built on a Windows server, or it can be built on a Windows server. It mainly depends on your personal needs. Today we are demonstrating how to build a PHP website on a Windows server using the PHPWAMP green integrated environment.

This PHPWAMP green integrated environment also belongs to the WAMP suite. Do you know what WAMP is?

Apache+Mysql+PHP under Windows is called WAMP.

There are actually many WAMP suites, such as wampserver, apmserv, xampp, etc. Each of these WAMP environments has its own characteristics.

This article demonstrates the pure green PHP integrated environment PHPWAMP. This integrated environment was found on the Internet.

The version number used is version 8.1.8.8 in 2016. According to the official website, the version 8.8.8.8 in 2017 is probably about to be released.

Why use the PHPWAMP integrated environment instead of other integrated environments?

1. Because PHPWAMP can be used after decompression, you don’t even need to

install the VC runtime library to run it directly, while other integrated environments require you to install additional vc to run it. Library, downloading takes time, and installation also takes time.

2. The components integrated by PHPWAMP by default are the latest version and the complete version, so they are more suitable for running on the server (other integrated environments are usually used for testing, and the integrated components have been castrated and are small in size. A lot) Of course, PHPWAMP is also very suitable for local testing. If it includes 32-bit and 64-bit, thread-safe and non-thread-safe PHP versions, there are more than 700 PHP versions in total that you can switch at will.

3. PHPWAMP can run different versions of PHP websites at the same time, which is very suitable for comparative testing. Running multiple versions at the same time is also suitable for running PHP programs that have strict PHP version requirements on the server. Website programs with different PHP versions can be run on the server at the same time.

4. The key is that this product can also remove the port number behind the domain name with one click. When coexisting with WEB servers such as Apache, Nginx, IIS, etc., the port number behind the domain name can be removed.

5. It has strong compatibility. It is compatible with XP system, windows7, windows8, and windows10. It is also perfectly compatible with various windows servers.

6. The phpwamp integrated environment can also coexist with any other environment without affecting each other. The port number can be modified visually, port occupation can be forcibly released, etc.

7. It has the ability to forcefully remove all environmental obstacles, forcefully uninstall any PHP environment with one click, and instantly remove the obstacles (without affecting the system). It is simple and crude, allowing you to save time and complete the website configuration immediately.

8. It is convenient to switch PHP versions, and you can also customize the PHP version. It provides 700 PHP versions for you to change at will, meeting the needs of various programs for different versions in a timely manner.

9. On the phpMyAdmin official website, you can see that each version of phpMyAdmin downloads prompts the PHP version and database version that different versions are compatible with, and the database management tool phpMyAdmin that comes with PHPWAMP has been specially modified. , can be perfectly compatible with any PHP version. No matter you switch any PHP version, it can be used normally. Like some PHP environments, phpMyAdmin will not have problems when upgrading or changing versions.

10. PHPWAMP has the function of automatically restarting the server regularly and automatically restarting apache, mysql and other services on a regular basis.

The following demonstrates the process of building a php website on the server. The server version is shown below Windows Server 2008 R2 Enterprise

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

##After purchasing a server from any IDC service provider, click here on your local computer to open the remote desktop connection to connect to the remote server

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

##Then enter the relevant information of the server you purchased in the interface that comes out, as shown below

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

The picture below is what it looks like after logging in. Now we can operate this server.

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Then use the browser that comes with the server to download the PHPWAMP integrated environment. You can search for "PHPWAMP" on Baidu to find the official website download.

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

After unzipping, open the software

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Change the port of the main interface to 80

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Switch any php version, and then open Apache2.4 Site management

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

After adding the site, we start to generate the corresponding hosts

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server# with one click

##Click this

buttonStart the websiteA case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Start perfectly. You can configure the website program yourself. If you don’t know how to do this, you can follow Baidu PHPWAMP usage tutorial

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

At this step, the website can only be viewed on the server and cannot be accessed by others through the Internet, because there is still an important step to be done, that is, the domain name Parse, parse the domain name to this server, and network names from all over the country can access your website through the Internet. Let's demonstrate how to parse.

Just find an IDC service provider on the street, buy a domain name, and then enter the domain name management system for domain name resolution

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Analyze as shown in the figure. The analysis management system will usually prompt you. Just take a careful look and you will be able to figure it out. If it is really not possible, call and ask the relevant customer service staff of the relevant website.

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

Add two parsing records like this

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

After a moment, Internet names from all over the country will be able to access your website through the domain name you bound.

A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server

The above is the detailed content of A case study of building a PHP website in a multi-functional integrated environment on a Windows server and a detailed explanation with pictures and texts on building a PHP website on a server. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template