Server version: Windows Server 2008 R2 Enterprise
Usually build aPHPwebsite,can be run on thelinuxserver 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 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. 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
##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
##Then enter the relevant information of the server you purchased in the interface that comes out, as shown below The picture below is what it looks like after logging in. Now we can operate this 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.After unzipping, open the software
Change the port of the main interface to 80
Switch any php version, and then open Apache2.4 Site management
After adding the site, we start to generate the corresponding hosts
# with one click
##Click thisbuttonStart the website
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 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 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. Add two parsing records like this After a moment, Internet names from all over the country will be able to access your website through the domain name you bound.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!