Heim  >  Artikel  >  Backend-Entwicklung  >  php 环境装配(源码包)

php 环境装配(源码包)

WBOY
WBOYOriginal
2016-06-13 12:19:28873Durchsuche

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、开启
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn