Build a WordPress environment on the Win platform

Source: Internet
Author: User
Tags mysql download install wordpress
: This article mainly introduces how to build the WordPress environment on the Win platform. if you are interested in the PHP Tutorial, refer to it. Build a WordPress environment on the Win platform

WordPress is an open-source and popular personal information publishing platform written in PHP. Currently, many websites are built using WordPress. At the same time, WordPress also provides a large number of plug-ins to help people build personalized websites.

Install PHP

To install WordPress, you must first install PHP. For installation of PHP, refer to my article. You can also use the Web Platform Installer to install PHP conveniently.

Install Mysql

WordPress needs Mysql as the database. download the offline installation package of over 300 MB from the mysql download page. After the download is complete, click install. After installation, you can.

Install WordPress

You can find the latest Chinese version of WordPress package on WordPress Chinese network. This is a compressed package. decompress the package and you will get a WordPress folder. After placing the folder in a proper location, you can enable IIS to configure WordPress. Select a name for the website, set the physical path to the WordPress path just now, and assign a suitable IP address and port number to complete WordPress installation. In this case, you can open WordPress in the browser to view it.

Common errors

Access permission problems

If a Permission error occurs when you access WordPress, IIS does not have the permission to access the WordPress folder. in this case, open the WordPress properties dialog box, click the Security tab, and click edit, open the security dialog box, click Add, enter IUSR in the input box, click Check name, click OK, add IIS_IUSRS user to WordPress, and set permissions to full control. After the configuration is set to full control, you only need to click a few clicks on the webpage to update WordPress in the future.

Files such as css cannot be read during Internet access.

When accessing the Internet, css and js files may fail to be loaded, leading to abnormal page display. When you use the F12 developer tool to view the files, you will find that the request path for css, js, and other files is localhost, leading to the failure of reading these files.

At this time, you need to open the/wp-admin/options-general.php page in the server, you will find that the address here is set to localhost, change localhost to the IP address or domain name of your server to solve the problem.

'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
  • '). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script

    The above describes how to set up the WordPress environment on the Win platform, including some content, and hope to help those who are interested in the PHP Tutorial.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.