php 环境装配(源码包)

WBOY
Release: 2016-06-13 12:19:28
Original
910 people have browsed it

php 环境安装(源码包)

Apache安装
httpd-2.4.12-x64-vc11-r2.zip

1、配置文件httpd.conf 第38行 Define SRVROOT "改成自己Apache所在的路径"
2、把Apache添加到系统服务 httpd.exe -k install -n "服务名"

php安装 
php-5.5.23-Win32-VC11-x64 (1).zip

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安装
memcache.rar

1、先把 .dll文件 放到 php etc文件中 再开启扩展
2. 安装 -d install    
3、开启
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!