Wordpress install in xampp | how to install wordpress in xampp

Wordpress install in xampp | how to install wordpress in xampp


To install WordPress in XAMPP, you can follow these steps:


1. Download XAMPP: Visit the Apache Friends website (https://www.apachefriends.org/index.html) and download the appropriate version of XAMPP for your operating system.

2. Install XAMPP: Run the downloaded installer and follow the on-screen instructions to install XAMPP on your computer. Choose the components you want to install, such as Apache and MySQL.

3. Start Apache and MySQL: Launch XAMPP and start the Apache and MySQL services from the XAMPP control panel. Apache is required to run the web server, and MySQL is the database server needed by WordPress.

4. Download WordPress: Go to the official WordPress website (https://wordpress.org/download/) and download the latest version of WordPress.

5. Extract WordPress: Once the download is complete, extract the contents of the WordPress ZIP file to the 'htdocs' folder within your XAMPP installation directory. The 'htdocs' folder is usually located at 'C:\xampp\htdocs' on Windows or '/Applications/XAMPP/htdocs' on macOS.

6. Create a Database: Open a web browser and visit 'http://localhost/phpmyadmin' to access phpMyAdmin. Click on 'Databases' and create a new database by providing a name for it, such as 'wordpress'.

7. Configure WordPress: In the 'htdocs' folder, locate the 'wp-config-sample.php' file and rename it to 'wp-config.php'. Open 'wp-config.php' in a text editor and update the following details:

   - Replace `'database_name_here'` with the name of the database you created in step 6.
   - Replace `'username_here'` with `'root'`.
   - Leave the password field blank (`''`).
   - Save the changes.

8. Install WordPress: Open a web browser and visit 'http://localhost/wordpress' (assuming you extracted WordPress directly into the 'htdocs' folder). Follow the on-screen instructions to complete the WordPress installation. When prompted, provide the site title, username, password, and email address.

9. Access Your Site: Once the installation is complete, you can access your WordPress site by visiting 'http://localhost/wordpress' in a web browser.

That's it! You have successfully installed WordPress on XAMPP. You can now log in to the WordPress dashboard and start building your website locally. Remember to stop the Apache and MySQL services from the XAMPP control panel when you're done working on your site.


No comments

Powered by Blogger.

Cookies Consent

This website uses cookies to offer you a better Browsing Experience. By using our website, You agree to the use of Cookies

Learn More