Setup Apache + PHP + MySql on Windows 10

Source: Internet
Author: User

The below steps recorded my experiences to setup the Apache + PHP + MySql on my Windows 10.

1. Download Apache http Server from HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX, unzip and put it to C:\ApacheServer.

2. Download php from http://php.net/downloads.php, unzip and put to C:\PHP.

3. Download Mysql from Https://dev.mysql.com/downloads/windows/installer/and install it.

4. Config the Apache server by edit the C:\ApacheServer\conf\httpd.conf file. ADD below setting after the Loadmoudle section.

LoadModule php5_module "C:/php/php5apache2_2.dll"

AddHandler application/x-httpd-php. php

Phpinidir "c:/php"

5. Continue Edit the C:\ApacheServer\conf\httpd.conf file, change the ' serverroot ' to ' C:\ApacheServer ', change the ' Docum Entroot "to" C:\ApacheServer\htdocs "

6. Config the PHP by edit the C:\php\php.ini, remove ";" Before Extension=php_mbstring.dll, Extension=php_mysql.dll, Exten Sion=php_mysqli.dll.

7. Start the Apache server by C:\ApacheServer\ApacheMonitor.exe.

8. Use your browser to open http://localhost to test if the server can work or not.

Setup Apache + PHP + MySql on Windows 10

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.