1.1 apache+mysql+php Installation and configuration

Source: Internet
Author: User
Tags apache download mysql download php download

First, software download 1.1 Apache download

File name: Httpd-2.4.23-x64-vc14.zip

: (Release later)

1.2 MySQL Download

File name: Mysql-5.7.15-winx64.zip

: (Release later)

1.3 php Download

File name: Php-7.0.11-win32-vc14-x64.zip

: (Release later)

Second, software installation and configuration 2.1 Apache installation and configuration 2.1.1 Apache installation

Apache installation is very simple, directly decompression, such as ( my path is D:\PHPServer\Apache24, after the Apache path by default refers to this path )

  

2.1.2 Apache Configuration

① Find the D:\PHPServer\Apache24\conf\httpd.conf file, open it, find the Define Srvroot, and change the value to the right to the current directory address of your Apache installation, as

  

② continue to find, found: Listen 80, if your 80 port is occupied (can be viewed under cmd command netstat-a), the 80 port is changed to another port (such as 8080), if not occupied and no need to modify, such as

  

③ next needs to configure the host service to install Apache, and with it, Apache can start.

Open the cmd window and enter:"D:\PHPServer\Apache24\bin\httpd.exe"-K install-n Apache, remember that the path name in the command contains quotation marks.

The command means installing the Apache service and naming the service name Apache (you can also change to another), enter.

Service installation completed, after completion, will be automatically tested, if there is a problem, the window will prompt the error, at this time, please self-troubleshooting according to the error.

Among them, Errors reported here must is corrected before the service can be started. This means that if there is an error message behind the sentence, the service installation fails and the error needs to be corrected first. If not, then success.

④ in the installation directory, find the D:\PHPServer\Apache24\bin\ApacheMonitor.exe executable file, double-click Run, the desktop appears in the lower right corner of the icon, double-click the Open Window interface, you will see

  

⑤ Click on the left start to start the Apache service, you can see such as boot status

  

⑥ Open the browser, enter localhost, the following interface appears to indicate that Apache installation was successful

  

2.2 MySQL installation and configuration 2.2.1 MySQL installation

Download MySQL is not installed version, so directly decompression can be placed in the Apache sibling directory, such as

  

2.2.2 MySQL Configuration

  

1.1 apache+mysql+php Installation and configuration

Related Article

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.