zoukankan      html  css  js  c++  java
  • windows +xampp+wordpress

    安装xampp

    下载一个安装包,安装到c:\xampp,安装完成后运行xampp_start.exe

    检测是否成功

    输入http://localhost 如果成功显示页面就OK了

    用phpadmin创建用户和数据库
    用户:wordpress
    密码: 123456
    数据库:db_wordpress

    安装wordpress

    下载一个压缩包,直接解压到c:\xampp\htdocs目录下就可以

    配置wordpress

    打开wp-config-sample.php,更改以下内容

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'db_wordpress');

    /** MySQL database username */
    define('DB_USER', 'wordpress');

    /** MySQL database password */
    define('DB_PASSWORD', 'wordpress');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    再次输入http://localhost,这时就可以看到wordpress的页面了,要求你创建一个wordpress的帐号和密码,输入就可以了,这样基本上wordpress就算是可以运行了

  • 相关阅读:
    ASP.Net控件基础篇
    ASP.Net
    有关于静态
    重载
    继承和多态
    面向对象的封装
    .net webform 把word转为html
    lambda 表达式 比较时间大小
    js 根据名字获取cookie 的方法
    .net 常用的命名空间和类
  • 原文地址:https://www.cnblogs.com/foxhengxing/p/1805736.html
Copyright © 2011-2022 走看看