Z-Blog 迁移需要注意的地方

  • 2017-3-9 11:49
  • PHP二次开发
  • 阅读(953)
  • 评论(11
  • 来源:互联网
  • 摘要: 1. 前言Z-Blog For PHP (以下简称zblog)的迁移相对还是比较简单的,需要修改的也就两个地方,一个是zblog本地的配置文件,另一个则是数据库中的配置文件。经过这样的 修改才能让程序正常的运行,当然,如果你迁移 ...
    1. 前言

    Z-Blog For PHP (以下简称zblog)的迁移相对还是比较简单的,需要修改的也就两个地方,一个是zblog本地的配置文件,另一个则是数据库中的配置文件。经过这样的 修改才能让程序正常的运行,当然,如果你迁移的目标主机基本上没有环境变化可能就不需要再进行本教程的配置修改,具体我会在本文中列出来哪些变动是需要修 改的。

    2. 环境


    2.1 涉及环境说明



    2.2 涉及修改说明


            zblog程序文件 zb_users/c_option.php 中的相关配置。

    3. 修改教程


    3.1 zblog文件修改

    在zblog程序的文件 zb_users/c_option.php 用记事本(最好用其他支持编码格式的程序打开,如这里推荐 Editplus ,否则可能出现乱码)打开,mysql修改的操作类似,进行查找项然后进行修改,下面是修改项目的对照表:

    ZC_MYSQL_SERVER     数据库名称(一般为localhost)
    ZC_MYSQL_USERNAME     数据库登录账号
    ZC_MYSQL_PASSWORD     数据库登录密码
    ZC_MYSQL_NAME     数据库名称
    ZC_MYSQL_PRE     数据表前缀名




    除非注明,文章均为 PHP二次开发 原创,转载请注明本文地址:http://www.php2.cc/article-2583-1.html




    引用 GlycleBoype   2018-1-19 19:19
    Therefore their proper handling is paramount. This is mainly very important for people who go on a camping trip might look for a sanctuary in case of bad weather. In fact, you’ll see a lot of content created around your product or service. You know you don't have time to exercise, but put on your exercise clothes and shoes anyway to counteract your excuse. If oneself obtain yourself input anything into an World wide web seem bar, and alternatively of transferring wherever your self anticipate y ...
    引用 RobertFen   2017-12-15 06:33
    <em><strong><a href="http:firstkolkataproperties. Our website also has a ‘Resources’ section where subjects are divided and topics that come under a particular area are put in order. By tracking down viable reading programs Santa Monica residents should be very happy with the results indeed.Article From Article Directory DatabaseLouis Vuitton Handbag which might be readily available will help inside the procedureMarline Dillion   Submitted 20120328 08:31 ...
    引用 Ordisceri   2017-12-14 21:11
    While those of us like you and I do not compete and are playing golf purely for enjoyment, professionals that are competing in major tournaments are out there solely to win.Garage doors used to ensure they are made basically having to do with did you know That is not at all going to be the case as producers introduce garage doors made back and forth from a good deal more durable materials. One has to follow three easy steps for the work to be done. Rogue antivirus systems proportion the function ...
    引用 GLITAIDEODE   2017-7-26 17:44
    Parental Control Lock. A 400 pound weight limit. Incorporate these tips into your own fashion plans. Always follow through on promises to pay and communicate often particularly when you owe on your account with them. We do offer Catholic and Protestant services to our students on Sunday. However the negative experiences do not always occur at every example. such as the long-term sauna detox protocol and the drills he developed to help improve communication skills.All Kettler HKS tricycles have s ...
    引用 云南茶网   2017-5-28 22:23
    引用 宅男福利   2017-3-9 12:55


    用户名:  *

    邮 箱:  *

    网 址: 注意加上“http://”哦!