-
Download XAMPP:
- Visit the XAMPP website and download the XAMPP installer suitable for your operating system (Windows, macOS, or Linux).
-
Install XAMPP:
- Run the XAMPP installer and follow the on-screen instructions to complete the installation.
- Start the XAMPP control panel once the installation is finished.
-
Start Apache and MySQL:
- In the XAMPP control panel, click the "Start" button next to "Apache" and "MySQL" to start the web server and database server.
-
Download WordPress:
- Visit the WordPress website and download the latest version of WordPress in a zip format.
-
Extract WordPress Files:
- Extract the downloaded WordPress zip file to the
htdocs
directory inside your XAMPP installation folder. This is usually located atC:\xampp\htdocs
on Windows or/Applications/XAMPP/htdocs
on macOS.
- Extract the downloaded WordPress zip file to the
-
Create a Database:
- Open a web browser and go to
http://localhost/phpmyadmin/
to access phpMyAdmin, a database management tool. - Click on "Databases" and create a new database. Note down the database name, as you will need it during the WordPress installation.
- Open a web browser and go to
-
Configure WordPress:
- Open a web browser and go to
http://localhost/wordpress/
(or the path where you extracted WordPress) to start the WordPress setup. - Select your language and click "Continue."
- Provide the database information:
- Database Name: Enter the name of the database you created in step 6.
- Username: Usually set to "root."
- Password: Leave it blank.
- Database Host: Enter "localhost."
- Table Prefix: You can leave this as default or change it if needed.
- Click "Submit" to proceed.
- Open a web browser and go to
-
Run WordPress Installation:
- Click "Run the installation."
- Provide the site information:
- Site Title: Enter the name of your website.
- Username: Choose a username for the WordPress admin.
- Password: Set a strong password for the admin.
- Your Email: Enter your email address.
- Click "Install WordPress."
-
Complete Installation:
- WordPress will complete the installation, and you'll be prompted to log in to the WordPress admin dashboard.
- Once logged in, you can start building your local WordPress website.
-
Access Your Local WordPress Site:
- To access your local WordPress site, open a web browser and go to
http://localhost/wordpress/
(or the path where you extracted WordPress).
- To access your local WordPress site, open a web browser and go to
Created
October 4, 2023 13:30
-
-
Save karhunenloeve/d3e7d8a03f2eb1c28287994674b650ee to your computer and use it in GitHub Desktop.
XAMPP and Wordpress locally.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment