Discuz X3.2搭建

环境php

1. windows操做系统;mysql

2. apache2.2;sql

3. mysql5.6;apache

4. php5.3windows

开始 
浏览器

1:下载资源测试

1)apache2.2:https://olex-secure.openlogic.com/content/openlogic/apache/2.2.4/openlogic-apache-2.2.4-windows-ins-1.zip编码

2)mysql5.6:https://downloads.mariadb.org/mariadb/10.1.9/spa

3)php5.3:http://windows.php.net/downloads/releases/archives/php-5.3.9-Win32-VC9-x86.msi操作系统

4)discuzX3.2:http://download.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip

2:安装步骤

1)解压discuz中的upload目录做为bbs;

2)安装mysql;

mysql安装的时候选择utf8编码

3)安装apache,修改配置文件Apache2.2\conf\httpd.conf

  1. (非必须)若是出现 133 error 就修改 ServerAdmin :xxx@xx.xx 邮箱;

  2. DocumentRoot  "xxx/bbs" 指向bbs目录

  3. <Directory "xxx/bbs"> 也指向bbs目录

  4. Deny from all 修改成 allow from all

  5. DirectoryIndex 后面加上index.php

4)安装php;

  1. 安装的时候选择apache moudles,再选则Apache2.2\conf配置目录

  2. 配置php目录下的php.ini:

    register_globals=On

        doc_root 能够设置为 "xxx\bbs"

        extension_dir = "ext" 去掉前面的 ';' 分隔号

        auto_detect_line_endings 能够 设置为 On 

测试

打开浏览器 输入 127.0.0.1 或者 localhost 

相关文章
相关标签/搜索