Hope this post will help you to install WordPress. If you enjoy my work then please share my posts with your buddies and anyone who might be interested in WordPress If you had any problem about this post, please do mention it in the comment section.WordPress is an open-source content management system (CMS). It’s based on PHP and MySQL. It most associates with blogging, E-commerce stores, personal sites and many more. Now WordPress control 30%of the web. In this guide, we discuss how to create a WordPress blog using XAMPP.
1) Why WordPress?
It’s FREE SEO Friendly
High Security High Performance
Customizable Design Responsive Mobile Sites
2) Step by Step Guide
Step 1 – Prerequisites
1.XAMPP – Apache (A) + MariaDB(M) + PHP(P) + Perl(P)XAMPP Download link (121 MB) – https://www.apachefriends.org/index.html
WAMP download link (286 MB) – http://www.wampserver.com/en/#download-wrapper
MAMP download link (410 MB) – https://www.mamp.info/en/downloads/
2. WordPress (v5.1)
Step 1 Completed
Step 2 – How to install XAMPP.
- Click on the downloaded XAMPP setup. (If you got any permission message or warning message click “OK” or “YES” button to continue)
- It will open the XAMPP setup wizard. Click next button to continue.
- Now it asked, what components we want to install and what’s not.
We only need Apache and MySQL. (select following Components and click
the next button to continue)
- Server
- Apache – Apache Server
- MySQL – Database Server
- Program Language
- PHP – Hypertext Preprocessor
- Program Languages
- phpMyAdmin – Database Control panel
- Server
- Choose installation location and click Next (Default: C:\xampp) (If you got Windows Defender Firewall Permission request, Tick both checkboxes and click Allow access.)
- Click the next button to continue Now it will install XAMPP (wait till the installation complete) After the installation complete. Click Finish.
- It will open the XAMPP Control panel automatically.
- This is a XAMPP Control Panel.
- Now click Start up Apache and MySQL (It will start Apache and MySQL servers)
Now open your web browser and type http://localhost or http://127.0.0.1 on the address bar.
Step 2 Completed
Step 3 – Creating a Database
- Open a web browser and type http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin (it will redirect you to phpMyAdmin control page)
- Click Databases and enter the Database Name then click Create, it will create our database.
My database name is “wpdb2019”
Congratulation! Step 3 Completed
Step 4 – WordPress Installation
Open an “htdocs” folder and Copy you’re downloaded WordPress file into the htdocs folder then extract it. (htdocs -> wordpress)
Then rename it whatever you like. I’m going to call it “wordpress”.
WordPress Installation (Normal configuration)
- Enter http://localhost/wordpress or http://127.0.0.1/wordpress on your browser (It will redirect us to the WordPress installation wizard.)
- Select a language and click Continue.
- It’s Time to connect database and WordPress. click Let’s go! It will redirect you to the “database configuration page”. Enter your Database Details, Then click submit button to continue.
Username – “root” (it’s default root)
Password – “” (it’s default empty)
Database Host – “localhost”
Table Prefix – “wp_”
- Now time to install WordPress, Press “Run the installation”.
Note: If you got an error
message. you need to configure the database manually.
WordPress Installation (Manual Configurations)
- Open the WordPress folder where you saved WordPress. (C:\xampp\htdocs\wordpress) and find a file called, “wp-config-sample.php” and rename it to “wp-config.php”
- Open it using your, default text editor.
- Find this section
- /** The name of the database for WordPress */
- define( 'DB_NAME', 'database_name_here' );
- /** MySQL database username */
- define( 'DB_USER', 'username_here' );
- /** MySQL database password */
- define( 'DB_PASSWORD', 'password_here' );
- /** MySQL hostname */
- define( 'DB_HOST', 'localhost' );
- Change it like below and save changes.
- /** The name of the database for WordPress */
- define( 'DB_NAME', wpdb2019' );
- /** MySQL database username */
- define( 'DB_USER', 'root' );
- /** MySQL database password */
- define( 'DB_PASSWORD', '' );
- /** MySQL hostname */
- define( 'DB_HOST', 'localhost' );
- Enter http://localhost/wordpress or http://127.0.0.1/wordpress on your browser (It will redirect us to the WordPress installation wizard.)
- Select a language and press Continue.
- After installation complete, we need to fill our site information. (Don’t worry, you can change these settings anytime)
Username – “admin”
Password – “techie!@#”
Your Email – demo@techieupgrader.in
Done, Step 4 Completed. It’s time to log in
Step 5 – WordPress Admin Control Panel.
Username – admin
Password – techie!@#
This is WordPress Admin control panel.Password – techie!@#
Join and share your articles! https://groups.hyvor.com/PHP
ReplyDelete