在 IIS 中搭建 PHP 环境,推荐用 php manager ,步骤如下:
1、先安装配置好 IIS。
提示:需要注意的是要选中 CGI。
2、下载安装 php manager 1.2。
提示:需要注意的是,如果是 IIS 10,在安装 php manager 之前,需要修改注册表,否则可能会出现“必须安装IIS7以上才可以安装”的错误提示,这是这个软件的小 bug。
3、下载安装(解压) php。
提示:从官网下载时,注意选择 windows 平台的 PHP 版本,Non Thread Safe,x64 或 x86。
4、配置 php。
提示:打开 IIS 管理器,点击 php Manager。
点击 Register new PHP version,定位到上面解压的 php 所在路径,添加即可。
1、首先,到织梦官方网站上,找到织梦CMS系统的下载地址,将它下载下来。/iknow-pic.cdn.bcebos.com/c2fdfc039245d68827374a75aac27d1ed21b242e"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/c2fdfc039245d68827374a75aac27d1ed21b242e?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/c2fdfc039245d68827374a75aac27d1ed21b242e"/>
2、一般织梦CMS提供两个版本,UTF8版和GBK版,根据自己的需求下载不同的版本,一般是UTF8版,所以本文以UTF8版为例。
/iknow-pic.cdn.bcebos.com/b90e7bec54e736d1895374d995504fc2d462699b"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/b90e7bec54e736d1895374d995504fc2d462699b?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/b90e7bec54e736d1895374d995504fc2d462699b"/>
3、将织梦CMS系统下载后解压,将里面的UPDATE文件夹下的所有文件全部上传到服务器根目录下。
/iknow-pic.cdn.bcebos.com/4034970a304e251f49b61c29a986c9177e3e539a"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/4034970a304e251f49b61c29a986c9177e3e539a?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/4034970a304e251f49b61c29a986c9177e3e539a"/>
4、上传成功后,在浏览器中输入网址:www.xxx.com/install,根据系统提示开始安装。
/iknow-pic.cdn.bcebos.com/d058ccbf6c81800ac9b271dfbf3533fa838b4788"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/d058ccbf6c81800ac9b271dfbf3533fa838b4788?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/d058ccbf6c81800ac9b271dfbf3533fa838b4788"/>
5、首先进行环境检测,要求网站根目录文件夹具备可读写功能,检测通过才能进行安装然,后点击继续按钮,进行下一步。
/iknow-pic.cdn.bcebos.com/d50735fae6cd7b899757c252012442a7d9330e23"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/d50735fae6cd7b899757c252012442a7d9330e23?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/d50735fae6cd7b899757c252012442a7d9330e23"/>
6、在这里需要录入mysql数据库的root密码,并且创建一个新的mysql 数据库,所以需要对数据库进行命名。
/iknow-pic.cdn.bcebos.com/3b87e950352ac65c95659ea2f5f2b21192138afb"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/3b87e950352ac65c95659ea2f5f2b21192138afb?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/3b87e950352ac65c95659ea2f5f2b21192138afb"/>
7、同时对要搭建的网站进行命名,设置成功后,进行下一步。
/iknow-pic.cdn.bcebos.com/72f082025aafa40f5dcc360ca564034f79f019dc"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/72f082025aafa40f5dcc360ca564034f79f019dc?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/72f082025aafa40f5dcc360ca564034f79f019dc"/>
8、系统创建完成后,会出现创建成功的页面,表示织梦CMS搭建成功。
/iknow-pic.cdn.bcebos.com/64380cd7912397dd317260d55782b2b7d1a287dc"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/64380cd7912397dd317260d55782b2b7d1a287dc?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/64380cd7912397dd317260d55782b2b7d1a287dc"/>
9、然后可点击访问网站首页进行访问。
/iknow-pic.cdn.bcebos.com/14ce36d3d539b600baa8f766e750352ac75cb7f9"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/14ce36d3d539b600baa8f766e750352ac75cb7f9?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/14ce36d3d539b600baa8f766e750352ac75cb7f9"/>
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)