Skip to content

Instantly share code, notes, and snippets.

@belm
Last active December 25, 2015 21:09
Show Gist options
  • Save belm/7040715 to your computer and use it in GitHub Desktop.
Save belm/7040715 to your computer and use it in GitHub Desktop.
windows 安装apache + php + mysql
主要是
①php.ini 修改php根目录下面的配置文件 为php.ini
②php.exe所在目录 加入环境变量 path
③httpd.conf 添加php扩展dll
LoadModule php5_module "C:/php/php5apache2.dll"
AddType application/x-httpd-php .php
绿色版 apache 修改项目路径
④启动apache 和启动windows的PHP文件夹里面的php-cgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment