码迷,mamicode.com
首页 > 数据库 > 详细

Setup Apache + PHP + MySql on Windows 10

时间:2015-09-16 23:19:48      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:

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 "DocumentRoot" 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, extension=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

标签:

原文地址:http://www.cnblogs.com/shengguang/p/4814737.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!