2.1、 安装phpwind软件包
[root@shuiyong lamp]# unzip phpwind_GBK_8.3.zip
[root@shuiyong lamp]# cd phpwind_GBK_8.3
[root@shuiyong phpwind_GBK_8.3]# mkdir /var/www/html/phpwind
[root@shuiyong phpwind_GBK_8.3]#
mv upload/* /var/www/html/phpwind/
出现乱码问题,解决方法如下:
[root@shuiyong ~]# vim /etc/httpd/conf/httpd.conf
747 #AddDefaultCharset UTF-8
[root@shuiyong ~]# service httpd restart
客户端测试显示如下结果:正常。
2.2、 构建phpwind论坛
[root@shuiyong ~]# cd /var/www/html/phpwind/
[root@shuiyong phpwind]# chmod -R 777 data/
[root@shuiyong phpwind]# chmod -R 777 html/
[root@shuiyong phpwind]# chmod -R 777 attachment/
[root@shuiyong phpwind]# rm install.php
rm: remove regular file `install.php'? y
[root@shuiyong phpwind]#
