跳到主要内容

RPCMS是基于PHP+MYSQL开发的一套内容管理系统,所以运行环境必须支持PHP
操作系统上,RPCMS支持win系统(推荐win7以上或win server)和Linux(推荐centos)。
Web服务器上,支持APACHENginx

环境要求

  • PHP:5.6+
  • 数据库:Mysql5.6+
  • 推荐环境:Linux Apache/Nginx + PHP7 + MYSQL5.7
  • 集成环境:phpEnv、phpstudy、宝塔

下载地址

更新日志详情:https://www.rpcms.cn/post/2.html

伪静态

  • Apache:
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
  • Nginx:
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
  • IIS:

将此段代码放置于网站根目录下的web.config文件中的system.webServer标签内。

<rewrite>
<rules>
<rule name="RPCMS Rewrite" stopProcessing="true">
<match url="^(.*)" ignoreCase="true"></match>
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"></add>
</conditions>
<action type="Rewrite" url="/index.php?s={R:1}" appendQueryString="true"></action>
</rule>
</rules>
</rewrite>

PS:IIS需安装 url-rewrite 模块。 👉模块下载

安装

  1. 将下载的程序代码解压,并上传到你的网站根目录,
  2. 配置伪静态(宝塔一键部署无需配置),
  3. 在浏览器地址栏输入你绑定的网址,会自动跳转到安装页面:http://你的域名/install/(如果没有跳转,可手动输入网址),
  4. 在安装界面根据提示操作,输入数据库、管理员等信息后,程序会自动执行安装。
    👉查看详细安装教程 👉安装视频

升级

  1. 登录你的网站后台,
  2. 打开后台的首页,
  3. 点击检测更新,程序会自动对本地系统文件进行校验,
  4. 当有文件需要升级/更新时,会在列表中显示,你可以选择更新或全部更新。