WordPress knowledge sharing

Using php studio to set up a local php environment and install wordpress tutorial

Most of the time, we just test a project or set up a temporary website, so we don't need to add it on the vps server Build a local php environment That's enough. This requires a software package that can build a local php environment in the Windows system. There are many such software packages, such as phpstudy Today, Weieis blog introduces how to build a local php environment with php studio and install WordPress tutorials locally.

1、 Phpstudy download and install.

Lao Wei suggested downloading it from the official website. The size is about 35M, which is not big among the common local php environment packages on the market.

Extract the downloaded compressed package to a folder, find the phpStudy.exe in it, and double-click to install it. In addition, a manual is a help file. If you encounter common problems in use, you can turn to it first.

In the installation process, click OK according to the default settings of the software. The next step is OK. To prevent repeated initialization, click Yes to confirm.

Finally, the user interface of phpstudy is as follows.

If you have been using the non service mode, the next time you start php studio, you need to manually click the start button in the above figure to start Apache and MySQL; If the system service is checked, the two services will run continuously after startup, whether you use this program or not.

2、 Locally install wordpress blog

1. After downloading the wordpress program, unzip it, copy and paste all the files in the folder into the D: phpStudy WWW folder.

2. Phpmyadmin adds users and databases.

Click MySQL Management on the php studio operating interface, and click PhpMyAdmin to enter the web version of the management interface. The default user name and password are root

After entering, click User - Add User.

Enter the user name and password, select local for the host, and then the program will automatically fill in the localhost. Next, check "Create a database with the same name as the user and grant permissions", and then click "Add User"

3、 Install the wordpress program locally.

The wordpress program has been installed many times. Here are some simple steps.

1. Enter in browser https://127.0.0.1 The wordpress installation page will open and the language will be selected

2. Click "Start Now" on the second page

3. On the third page, enter the account (database name and user name are the same) and password of the database user you just added. If there is no error, you will be prompted to install.

4. Enter the WordPress blog title, login account password and other settings page, and the rest is WordPress program settings.

4、 Delete the php studio program. If you don't want to use it, first exit the program in the lower right corner of the local desktop, and then go to the installation path to delete the entire phpstudy folder.

Phpstudy is very convenient in setting up a local php environment. A mature local php environment can be quickly set up in a few minutes. The php environment can run in non service mode after running, and does not occupy system service resources after closing the program. use Php studio builds website It is very convenient, such as building a WordPress blog.

Finally, Weiaisi Blog encountered some difficulties in creating a local database. Later, he consulted Lao Zuo and successfully installed it under the advice of Lao Zuo. It occurred to me that some people might encounter the same problems as me and would be at a loss. There was no tutorial on the Internet to explain this aspect, so this article was written.

Like( zero )
Article name: Tutorial on Building a Local PHP Environment and Installing WordPress with PHP Studio
Article link: https://www.vpsss.net/2603.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.