zoukankan      html  css  js  c++  java
  • PHPCMSV9上线方法及文件权限设置

    上线步骤:

    a.替换代码和数据库文件内的域名
    b.修改cache/configs/database.php中的数据库密码
    c.修改cache/configs/system.php文件中的网站路径变量 ‘web_path’(网站在根目录就是/,目录下就是/xx/)
    d.修改phpcms/templates/moren/content/head.html文件中的链接地址
    e.进入网站后台,生成主页、栏目、url

    文件权限设置:

    以下文件或者目录必须可写,例如访问地址 localhost/phpcms
    index.html     chmod 777 index.html
    caches/        chmod -R 777 caches
    html/          chmod -R 777 html
    uploadfile/    chmod -R 777 uploadfile
    phpsso_server/caches/      chmod -R 777 phpsso_server/caches
    phpsso_server/uploadfile/  chmod -R 777 phpsso_server/uploadfile
    网站根目录     chmod 777 phpcms (注意这里没有 -R)

  • 相关阅读:
    pytest ini配置文件格式
    C#星辰之路
    bootstrap
    rabbitmq 安装
    curl 下载文件
    mysql 面试题
    mvn --version
    后台运行的nohup vs &
    scp
    linux下.tar.gz和.gz文件解压详解
  • 原文地址:https://www.cnblogs.com/lamp01/p/6599755.html
Copyright © 2011-2022 走看看