Home > Backend Development > PHP Tutorial > Windows Apache PHP MySQL 搭建_PHP

Windows Apache PHP MySQL 搭建_PHP

WBOY
Release: 2016-06-01 12:29:52
Original
696 people have browsed it

Apache

安装php,有两种方式,这里采用其中一种,成为apache的组件

下载php: php-5.1.2-win32 和 php-5.1.2-installer.exe我就下了这两个~~~

然后将php里面的dll文件拷贝到windows/system32里面,将php.ini-dist 改位php-ini拷贝到windows目录

下载apache 安装到一个文件夹

然后修改安装后文件夹\apache2\conf

里面的配置文件httpd.conf

修改

Listen 127.0.0.1:80 // 其中127.0.0.1是你的ip地址

添加

LoadModule php5_module c:/php/php5apache2.dll

AddType application/x-httpd-php .phtml .php

Copy after login
MySQL的安装下回再记录
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template