What else is needed to build a wordpress website?
Wordpress is an open source, free website building program developed using PHP language and MySQL database. To build a WordPress site, you also need a hosting space that can run PHP language and a MySQL database.
Maybe some friends will ask, what is the host space, what is the MySQL database, and what are they used for?
What is hosting space? What is it for?
Host space is responsible for two of the most basic functions: storing website files and providing an environment for the website to run. The host space mentioned here is actually a server connected to the public network, which is basically in operation 24 hours a day. The server's hard disk can store website files; a system and environment can be installed in the server to run the website.
Common host spaces on the market include Windows hosts and Linux hosts:
Windows hosts, as the name suggests, are server versions of Windows systems installed on the server, such as windows2003. This kind of host usually uses its own IIS to configure the environment in which the website runs. Windows hosts, often called all-purpose hosts on the market, support website building programs written in multiple languages such as ASP and PHP. Of course, a MySQL database environment is generally installed.
Note: Internet Information Services (IIS, Internet Information Services) is a basic Internet service provided by Microsoft based on running Microsoft Windows.
Linux host, that is, the host with the Linux core system installed. This kind of host generally installs three major components: Apache, MySQL, and PHP independently to build an environment for the website to run. Linux hosts do not support languages such as ASP and usually only support PHP language programs.
Choose Windows host or Linux host?
As mentioned above, the biggest difference between Windows host and Linux host is the supported language environment. The former supports more languages, while the latter usually only supports PHP language. Many friends who are new to website building may not hesitate to choose Windows as an "all-in-one host". However, as someone who has experienced it, I recommend using a Linux host to build WordPress. Why?
Practice has proven that the PHP environment of the Linux host is more conducive to the efficient running of PHP programs such as WordPress, such as support for pseudo-static, support for Chinese links, and more perfect support for other functions required by WordPress, making the operation more efficient. Smooth.
If you use a windows host, you will find that running WordPress is relatively slow, and usually cannot perfectly support pseudo-static. If there is Chinese in the URL, a 404 error will appear. Sometimes you cannot use a certain Some plug-ins... Although some problems can be barely solved by modifying the configuration, for a novice, it is almost impossible to deal with it!
So, to use WordPress well, choosing a Linux host is the right way! !
By the way, since Windows hosts need to purchase Microsoft copyrights, the cost is higher. Generally, foreign Windows hosts are rare and very expensive. Therefore, it is recommended that you use PHP programs to build websites and try not to use ASP language. Otherwise, you can only buy windows hosts in China, and domestic hosts must be registered. If you are not afraid of trouble, then just pretend that I didn’t say anything.
What is a MySQL database? What is it for?
MySQL database is usually used to store data information of PHP programs. For example, some configuration information of WordPress, article data, etc. are stored in the MySQL database. Usually, we need to use phpMyadmin to operate the MySQL database, so the general host has the phpMyadmin program installed.
How much space and database are needed to build WordPress?
Generally speaking, there are three options for hosting space: virtual host->VPS->server. For novices or personal blogs, Changmeng recommends purchasing a virtual host first, because in the early stages of building a website ( Within a year), the traffic of your website will not be very large. A virtual host of about 200M is completely enough for an ordinary blog to use for more than a year.
When purchasing a Linux host, there is usually another parameter, which is the monthly traffic. If the blog post does not have many pictures and the daily visits are within 300 IP, generally 6-10GB of traffic per month will be enough. . The MySQL database of a Linux host is generally used together with the host space, that is, the size of the MySQL database is already included in the virtual host and does not need to be purchased separately. Usually within a year, the size of a blog's MySQL database will not reach 10M.
So, in the early days of building a blog, you can buy a Linux host with a size of 200M and a monthly traffic of 6-10G. The price of such a foreign host generally ranges from 80-200 yuan/year. In addition to a domain name of 60 yuan, you can usually set up your independent blog for about 150-200 yuan!
If you are just learning WordPress first and don’t plan to build a website so quickly, then you can install the PHP environment on your computer and build WordPress locally, so you don’t need to spend money so quickly!
For more WordPress technical articles, please visit theWordPress Tutorialcolumn!
The above is the detailed content of What else is needed to build a WordPress website?. For more information, please follow other related articles on the PHP Chinese website!