Home > Backend Development > PHP Tutorial > php 环境安装(源码包)

php 环境安装(源码包)

WBOY
Release: 2016-06-23 13:35:07
Original
838 people have browsed it

Apache安装


1、配置文件httpd.conf 第38行 Define SRVROOT "改成自己Apache所在的路径"

2、把Apache添加到系统服务 httpd.exe -k install -n "服务名"


php安装 


apache中使用php

在Apache24\conf\httpd.config中增加:


#之间

DirectoryIndex index.php


#之间

AddType application/x-httpd-php .php


#文件最后追加

LoadModule php5_module "D:/php/php5apache2_4.dll"

PHPIniDir "D:/php"


memcache安装


1、先把 .dll文件 放到 php etc文件中 再开启扩展

2. 安装 -d install    

3、开启

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