Cases of building PHP websites on windows servers with multi-function integration environment, building PHP websites on servers, and php Cases

Source: Internet
Author: User
Tags vc runtime

Cases of building PHP websites on windows servers with multi-function integration environment, building PHP websites on servers, and php Cases

 

 

Server version: Windows Server 2008 R2 Enterprise

Build a PHP website,It can be set up on a linux server or on a windows Server, depending on your personal needs.Today, we demonstrate 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?

In Windows, Apache + Mysql + PHP is called WAMP.

 

There are actually many WAMP suites, such as wampserver, apmserv, and xampp. These WAMP environments have their own characteristics.

This article demonstrates the pure green PHP Integration Environment PHPWAMP, which I found online.

The version used is 8.1.8.8 of March 8. According to the official website, the version 8.8.8.8 of March 8 is estimated to be coming soon.

 

 

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

1. Because PHPWAMP can be decompressed and used, you can directly run it without installing the VC Runtime Library. Other integration environments require you to install the vc Runtime Library. Download takes a long time, installation also takes time.

2. By default, all components integrated with PHPWAMP are in the latest version and are in the full version. Therefore, PHPWAMP is more suitable for running on servers (other integration environments are usually used for testing and integrated components are castrated, small Size) Of course, PHPWAMP is also suitable for local testing. If the PHP version includes 32-bit and 64-bit, thread security, and non-thread security, you can switch between more than 700 PHP versions.

3. PHPWAMP can run PHP websites of different versions at the same time, which is suitable for comparative testing. Concurrent running of multiple versions is also suitable for running php programs that have strict requirements on the PHP version on the server. You can run website programs of different php versions on the server at the same time.

4. The key products can also remove the port numbers behind the domain name with one click, so as to remove the port numbers behind the domain name when they coexist with WEB servers such as Apache, Nginx, and IIS.

5. Strong compatibility, compatible with windows XP, windows 7, windows 8, and windows 10, and strong compatibility on various windows servers.

6. The phpwamp integration environment can coexist with any other environment without affecting each other, visually modify the port number, and forcibly remove the port occupation.

7. Force-Remove all environmental obstacles, force Uninstall any php environment with one click, and immediately kill the obstacles (without affecting the system). This is simple and crude, saving you time to complete website configuration immediately.

8. It is easy to switch to the PHP version. You can also customize the PHP version to provide 700 PHP versions. You can change the version to meet the needs of different programs in a timely manner.

9. On the official phpMyAdmin website, you can see that all phpMyAdmin versions are prompted for the PHP versions and database versions compatible with different versions, phpMyAdmin, the database management tool that comes with PHPWAMP, has been specially modified to be perfectly compatible with any PHP version. It can be used normally no matter you switch to any PHP version, not like in some PHP environments, upgrade or change the version to phpMyAdmin.

10. PHPWAMP automatically restarts the server on a regular basis and automatically restarts services such as apache and mysql on a regular basis.

 

 

 

The following shows how to build a php website on the Server. For example, if the Server version is Windows Server 2008 R2 Enterprise

 

 

After purchasing a server from any IDC service provider, click here to enable Remote Desktop Connection to connect to the remote server.

 

 

Enter the information about the server you purchased on the page, as shown in figure

 

 

After login, we can operate this server now.

 

 

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

 

 

Decompress the package and open the software.

 

 

Change the port on the main interface to 80

 

 

Switch to any php version, and open Apache2.4 site management.

 

 

After adding the site, we start generating the corresponding hosts with one click.

 

 

Click this button to start the website

Perfect startup, website programs can be configured by yourself. If this doesn't happen, you can use Baidu PHPWAMP tutorial.

 

 

In this step, the website can only be viewed on the server, and others cannot access it through the Internet, because there is another important step to do, that is, domain name resolution, resolve the domain name to this server, you can access your website through the Internet by using the network names from all over the country. Here we will demonstrate how to resolve the problem.

 

Find an IDC service provider on the street, buy a domain name, and enter the domain name Management System for domain name resolution

 

 

 

For parsing, the resolution management system will usually prompt you, take a look at it carefully, it is really not possible to call the relevant website customer service personnel.

 

 

Add the following two resolution records

 

 

 

Wait for a moment. All the country's network names will be able to access your website through your bound domain name.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.