Build a PHP runtime environment and install wordpress using myspns

Source: Internet
Author: User
Tags install wordpress wordpress database wordpress blog wordpress version
Myspn is a Php environment installation package, which integrates the latest mariadb-a mysql branch, php and nginx. You can download it from here. After downloading the SDK, you can install it as if it were a common windows software. It is installed on drive C by default. After the installation is complete, there will be a folder of myspns on drive C, which is the installation folder of myspns. Starting myspns from the desktop or the start menu is a Php environment installation package, which integrates the latest mariadb- MysqlBranch, php and Nginx. You can download it from here.
After downloading the SDK, you can install it as if it were a common windows software. It is installed on drive C by default. After the installation is complete, there will be a folder of myspns on drive C, which is the installation folder of myspns.
Start myspns from the desktop or the start menu and you will see the controller interface of myspns.



Select the option modules on the left and click "restart" to start the selected modules. After the three core modules mariadb, php, and nginx are restarted, you can access http: // localhost in the browser. if the page content is correctly displayed in the window below the controller, congratulations, you can start to install various php programs.
Install wordpress now. this is a very common php blog program. You can download the latest Chinese version.
Here we will demonstrate that the latest wordpress version is v3.5.1.
Download the wordpress compressed package and decompress it. a folder named "wordpress" is displayed. Move this folder to nginx/html under the myspns installation folder, and PhpmyadminThe folder is parallel.
Then, go to the wordpress file and open the wp-config-sample.php file. Save it as a wp-config.php.
Follow, open another wp-config.php file, find the following content:
// ** MySQL settings-specific information comes from the host you are using **//
/** WordPress database name */
Define ('Db _ name', 'database _ name_here ');
/** MySQL database username */
Define ('Db _ user', 'username _ here ');
/** MySQL database password */
Define ('Db _ password', 'password _ here ');
Modify it to the following content: // ** MySQL settings-specific information from the host you are using **//
/** WordPress database name */
Define ('Db _ name', 'wpblog ');
/** MySQL database username */
Define ('Db _ user', 'root ');
/** MySQL database password */
Define ('Db _ password ','');
Save and return to the http: // localhost/page of the browser. click open phpMyAdmin to enter the phpmyadmin program.
To create a database named "wpblog", the name must be
// ** MySQL settings-specific information comes from the host you are using **//
/** WordPress database name */
Define ('Db _ name', 'wpblog ');
The settings are consistent.



Click "create", return to the http: // localhost/page, enter http: // localhost/wordpress in the address bar of the browser, and press enter, you can see the wordpress installation interface.
Enter the form as required and submit it. Wordpress is installed in seconds.
Now let's look at the phpmyadmin page and you will see it on the left side:



From this moment on, you have a brand new wordpress blog. Write your blog!

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.