逐梦论坛's Archiver

shillan 发表于 2015-11-20 08:35

Windows 2003安装kangle第二篇(使用IIS方式跑全能空间)

[p=25, 2, left]本篇主要介绍kangle使用IIS跑全能空间的介绍
kangle在windows2003上的安装的教程可以查看上一篇文章[/p]http://www.qiangren.org/post/1441/测试环境[p=25, 2, left]VMware Workstation 版本 9.0
server2003_r2_enterprise_sp2_x86[/p]所需软件[p=25, 2, left]我自己服务器上保存的为当前教程中我使用的版本
你可以去官方下载这些文件 我这里仅作备份[/p]http://download.qiangren.org/files/kangle/plugin/easypanel-iis-1.6.2.exe安装步骤[list=1][*]安装kangle的IIS插件[*]安装IIS[*]配置PHP[*]初始化kangle[*]配置IIS模板的虚拟主机产品[*]开通全能空间[/list]详细过程第一步安装kangle的IIS插件[p=25, 2, left]非常简单 直接下一步下一步就行了
[url=http://store.qiangren.org/uploads/2015/08/20150813190039.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813190039-1024x794.jpg[/img][/url]
[url=http://store.qiangren.org/uploads/2015/08/20150813190236.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813190236-1024x794.jpg[/img][/url]
安装完后提示重启计算机 ,我这里选择了重启
[url=http://store.qiangren.org/uploads/2015/08/20150813190247.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813190247-1024x794.jpg[/img][/url][/p]第二步安装IIShttp://www.qiangren.org/post/1528/第三步配置PHP[p=25, 2, left]打开iis管理器-选中web服务扩展-添加一个新的Web服务扩展
[url=http://store.qiangren.org/uploads/2015/08/20150813194321.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813194321-1024x794.jpg[/img][/url]
扩展名写php,然后点下面的添加[/p]D:\Program Files\Kangle\ext\tpl_php52\php5isapi.dll[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813194604.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813194604-1024x794.jpg[/img][/url]
选中php点允许
[url=http://store.qiangren.org/uploads/2015/08/20150813194855.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813194855-1024x794.jpg[/img][/url]
选中网站-右键选属性-主目录-配置-映射-添加
[url=http://store.qiangren.org/uploads/2015/08/20150813195112.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813195112-1024x794.jpg[/img][/url]
[url=http://store.qiangren.org/uploads/2015/08/20150813195134.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813195134-1024x794.jpg[/img][/url]
[url=http://store.qiangren.org/uploads/2015/08/20150813195149.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813195149-1024x794.jpg[/img][/url][/p]可执行文件
"D:\Program Files\Kangle\ext\tpl_php52\php5isapi.dll"
扩展名 php[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813195357.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813195357-1024x794.jpg[/img][/url][/p]配置php.ini删除C:\WINDOWS 里的php.ini (没有就不用删)
进入kangle的php模板目录D:\Program Files\Kangle\ext\tpl_php52\复制php-templete.ini 到 C:\WINDOWS 里
把php-templete.ini更改文件名为php.ini 然后修改C:\WINDOWS 里的php.ini 找到${src_dir}
全部替换为D:\Program Files\Kangle\ext\tpl_php52[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813200115.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813200115-1024x794.jpg[/img][/url]
添加Path变量
我的电脑-右键-属性-高级-环境变量
[url=http://store.qiangren.org/uploads/2015/08/20150813215307.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813215307-1024x794.jpg[/img][/url]
找到path 然后点编辑
[url=http://store.qiangren.org/uploads/2015/08/20150813215336.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813215336-1024x794.jpg[/img][/url]
然后在最后添加[/p];D:\Program Files\Kangle\ext\tpl_php52[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813215547.jpg][img=0,603]http://store.qiangren.org/uploads/2015/08/20150813215547-1024x794.jpg[/img][/url][/p]第四步初始化kangle[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813191659.jpg][img=0,547]http://store.qiangren.org/uploads/2015/08/20150813191659-1024x721.jpg[/img][/url][/p]第五步配置IIS模板的虚拟主机产品[p=25, 2, left][url=http://store.qiangren.org/uploads/2015/08/20150813191757.jpg][img=0,547]http://store.qiangren.org/uploads/2015/08/20150813191757-1024x721.jpg[/img][/url][/p]第五步开通全能空间[p=25, 2, left]kangle后台-产品列表-选择刚刚添加的IIS模板产品-增加网站
以下是两张探针截图
[url=http://store.qiangren.org/uploads/2015/08/20150813201037.jpg][img=0,524]http://store.qiangren.org/uploads/2015/08/20150813201037-1024x691.jpg[/img][/url]
[url=http://store.qiangren.org/uploads/2015/08/20150813201050.jpg][img=0,524]http://store.qiangren.org/uploads/2015/08/20150813201050-1024x691.jpg[/img][/url][/p]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.