duanche5149 2014-02-09 12:40
浏览 48
已采纳

在我的电脑中安装wordpress的原理是什么? [关闭]

I have installed Wordpress on my pc, but I don't know how it works, here are my steps:

  1. Install WAMP: Donwload bitnami wamp stack and click install.

  2. Create a MySQL database for wordpress: Input local/phpmyadmin in firefox ,to create new database and write down the password.

  3. Download wordpress, copy web-config-sample.php into web-config.php, and fill the blanks.

  4. Copy wordpress (and all the files in it)
    C:\BitNami\wampstack-5.4.24-0\apache2\htdocs\wordpress

  5. At last go to local\wordpress in firefox, and start the installation

web-config.php:

define('DB_NAME', 'sql_wordpress');   
define('DB_USER', 'root');   
define('DB_PASSWORD', 'haha');  
define('DB_HOST', 'local:3306');

I named the database sql_wordpress and set password haha.

I want to know why the installation begin ,when i input local\wordpress in firefox ? What is the principle for the installation?

  • 写回答

1条回答 默认 最新

  • dongll0502 2014-02-09 12:55
    关注

    EDITED ANSWER You will encounter several sub-steps at step 5

    Assuming that your folder is named as wordpress

    The Installation Script can be located at wordpress/wp-admin/setup-config.php

    It'll begin with the creation of config file! You should note that you have already created the setup-config.php file

    At Step 1: It'll setup the pre-requisites such as database name/username/host/password and table prefix with which all the associated tables will be created.It'll move on to

    wp-admin/setup-config.php?step=2

    At Step 2: After you provide correct details regarding the database,then it moves on to the basic information needed about the website such as website title.This script can be found in

    http://localhost/wordpress/wp-admin/install.php
    

    After you perform these steps it'll take you to the admin dashboard.

    OLD ANSWER:

    Your question is not clear to me but you seem to ask like why a wordpress installation occurs at step 5 ?

    What is WAMP ?

    WampServer is an easy to use web server package that allows you to configure Apache, MySQL and PHP in your local machine to match that of your live web server.

    What is Wordpress ?

    Wordpress is a CMS(content-management system) based on PHP and MySql that runs on a hosting service

    So you have to install WAMP to HOST the wordpress.Wamp contains PHPMyadmin for PHP and MySql database

    In the steps above you configured your PHPmyAdmin and MySQl to be associated with wordpress.

    At Step 5,when you goto -> localhost/website(or the foldername which contains the wordpress zip files), you have to manually configure the wordpress files so that it can access the database and other stuffs it needs to function properly.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 csv格式数据集预处理及模型选择
  • ¥15 部分网页页面无法显示!
  • ¥15 怎样解决power bi 中设置管理聚合,详细信息表和详细信息列显示灰色,而不能选择相应的内容呢?
  • ¥15 QTOF MSE数据分析
  • ¥15 平板录音机录音问题解决
  • ¥15 请问维特智能的安卓APP在手机上存储传感器数据后,如何找到它的存储路径?
  • ¥15 (SQL语句|查询结果翻了4倍)
  • ¥15 Odoo17操作下面代码的模块时出现没有'读取'来访问
  • ¥50 .net core 并发调用接口问题
  • ¥15 网上各种方法试过了,pip还是无法使用