phpBB 3.3 Proteus 安装

有关开发版本,以及未来的测试版的 phpBB 3.3.X 系列 话题
主题已锁定
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

phpBB 3.3 Proteus 安装

帖子 davidyin »

这个安装的过程同 phpBB 3.2.x 相比,没有什么特殊。

php 版本,当然不要再用 php 5.5.x,据说 phpBB 3.3.x 的最低版本是 php 5.6.x,然而我还是建议至少要用 php 7.1.x 的版本。

数据库,我建议用 MariaDB



使用本站提供的包含简体中文 phpBB 3.3.x 的完整安装包,是很能很快安装完毕的。
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

Re: phpBB 3.3 Proteus 安装

帖子 davidyin »

贴一下使用的 nginx 配置:

代码: 全选

server {
    listen 80;
    server_name phpbb33.example.com;


    server_name_in_redirect off;

    root  /home/davidyin/phpbb33.example.com;


index index.php;


     location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|store) {
        deny all;
        return 403;
    }

    location / {
        # First attempt to serve request as file, then
	# as directory, then fall back to displaying a 404.
	try_files $uri $uri/ =404;

          if (!-e $request_filename) {
              rewrite ^(.*)$ /app.php;
          }
    }

    location ~* \.(gif|jpe?g|png|css|js|ico)$ {
        expires   30d;
    }


        location /install/app.php {
                try_files $uri $uri/ /install/app.php?$query_string;
        }       

    #rewrite rule for app.php or extension
    location /app.php {
        try_files $uri $uri/ /app.php?$query_string;
    }



 
  location = /config.php {
    deny all;
  }
 
  location = /common.php {
    deny all;
  }
 
  location /cache/ {
    deny all;
  }
 
  location /config/ {
    deny all;
  }
 
  location /files/ {
    deny all;
  }
 
  location /images/avatars/upload/ {
    deny all;
  }
 
  location /includes/ {
    deny all;
  }
 
  location /store/ {
    deny all;
  }


location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
add_header Access-Control-Allow-Origin "*";
expires max;
}




location ~ \.php$ {
        try_files $uri $uri/ /index.php?$args;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }



    # redirect server error pages to the static page /50x.html
    #

    error_page 403 500 502 503 504 /50x.html;
    location = /50x.html {
       root /usr/share/nginx/html;
    }


    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /\.ht {
      deny all;
    }   

}
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
头像
artery
注册用户
注册用户
帖子: 26
注册时间: 2018年11月1日 11:36

Re: phpBB 3.3 Proteus 安装

帖子 artery »

php最低接受版本:5.6.27
图片
_/_/_/_/ 我的签名就是这么不一样 ^_*
_/_/_/_/ 在下的小站:ARTERY.cn
主题已锁定