PHP green integrated environment application on ECS, PHPWAMP build website case on server, phpphpwamp

Source: Internet
Author: User

PHP green integrated environment application on ECS, PHPWAMP build website case on server, phpphpwamp

 

 

Q: What is WAMP? A: In Windows, Apache + Mysql + PHP is called WAMP.

The PHP integrated environment used in this case is my self-developed pure green WAMP software (PHPWAMP ).

All components integrated in this integrated environment are in the full version, which is suitable for local debugging and server.

The following describes how to build a website in the PHP integrated environment on the server. You only need to follow these steps to build a website.

Bytes -----------------------------------------------------------------------------------------------------------------------

 

Buy a server first, and then obtain the Server IP address, remote account, and remote login password. The procedure is as follows:

 

 

Suppose I purchased an ECS instance on a website named XX. I found the "control panel" on the website and clicked in.

(Friendly reminder: No matter which website you purchase, the operation steps are the same, just follow my steps)

 

 

Then I enter the "independent control panel" of this website and select the corresponding product. I select ECs, and then enter the host ip address and other related information to go to the relevant page, finally, obtain the Server IP address, remote account, and remote login password.

Tip: if you cannot find these three types of information, you can consult the customer service personnel of the corresponding website (where do you buy the server, ask the customer service personnel of the corresponding website, the customer service staff will tell you, however, you may find it carefully. If you cannot find it, ask the website customer service .)

 

 

The winner has three types of information: Server IP address, remote account, and remote login password. I copied the information to TXT notepad for later use ,.

 

 

 

 

 

Then we can start to use our computer to connect to the remote server, control the server, and perform related configuration.

 

Step 1: Open the remote connection in your computer and add it to the computer attachment.

 

 

 

Step 2: Open the remote connection. Enter the IP address of your server.

 

 

Step 3: on the displayed page, enter the remote logon password (the specific password depends on your server)

Tip: If your account is not administrator by default, you can click "use another account" and manually enter administrator

 

 

Step 4: Your computer will be connected to the remote server you purchased, as shown in the figure below

After the connection, click "yes" if this interface is available.

Then you will enter the Remote Desktop to load the Remote Desktop (this desktop is the desktop of your ECS)

 

 

 

 

Step 5: After logging on to the ECS desktop, as shown in,

If not, you can pull the scroll bar by yourself, or double-click the title location of the Remote Desktop, and double-click it to view the Remote Desktop in full screen.

 

 

 

Step 6: Open the browser on the server, search for "PHPWAMP" with Baidu, and then download PHPWAMP

 

 

 

Step 7: Download PHPWAMP on the server, decompress it, and open PHPWAMP, as shown in.

 

 

 

 

Step 8: The default software port is port 8080, because it is now used on the server, so the port is adjusted back to port 80, as shown in figure

(Because only websites using port 80 do not need to include a port number behind the domain name when accessing the website domain name)

Tip: after entering port 80, click "Modify port". If the service has been started, restart it.

 

 

Step 9: Start a PHP version at random, as shown in,

If your server has other service environments installed, you can switch to the symbiosis mode to start the server, or uninstall other runtime environments.

 

Step 10: Go to Apache2.4 Site Management after starting the service in the previous step ,.

 

Step 2: Enter the website information here and click "Add new site"

(The entered domain name must actually exist. Otherwise, the domain name can only be viewed on the server .)

This is the domain name detail diagram that I entered, as shown above.

 

 

 

Step 2: After adding the site, it will appear in the site list on the left, right-click the site, and select "generate hosts content for this site"

 

Step 2: click this button after generation,

 

 

Step 2: After the restart, you can enter the website domain name in the browser on the server for browsing. However, you can only browse the site on the server at this time, other people cannot see this page through this domain name, because the domain name has not been resolved to your server, you must perform the next domain name resolution to access this site on the Internet.

Note: This page is the default website environment check page of the software. please place the website program on your own and right-click it to open "root directory of this site" and put your website program in, configure the database connection. (If you do not know how to place website programs and configure databases, you can view my video tutorial on CSDN)

 

 

 

 

 

 

Step 2: domain name resolution step: after purchasing a domain name, go to the domain name management background and click domain name management

 

Click Manage next to the domain name, as shown in figure

 

Click "Enter advanced management" on the displayed page"

 

 

After entering the domain name control panel, click domain name resolution

 

 

Then add A record, enter the Server IP address corresponding to the value, and click OK to add

 

 

Add the record of www and @. After the record is added, as shown in the following figure. Then, you can access it with the domain name in 10 minutes.

 



After the resolution is complete, other people will be able to use this domain name to access the website you set up in a few minutes, such

 

Friendly reminder: The phpwamp I demonstrated previously is in the Development Mode. Please switch to the operation mode during official operation.

 

 

PHPWAMP official website, please Baidu "PHPWAMP"

 

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.