You want a working site without breaking something on day one. Here’s how to install WordPress: pick a host that meets the requirements, then use its one-click installer or upload the files yourself.
New to all of this? Our guide to wordpress tips for beginners covers what to learn once your site is live.
| Item | Value |
|---|---|
| Recommended PHP | PHP version 8.3 or greater |
| Recommended database | MariaDB version 10.11 or greater OR MySQL version 8.4 or greater |
| Secure connections | HTTPS support |
| Typical install time | Less than five minutes |
| Legacy support (end of life) | PHP 7.4+ and MySQL 5.5.5+ |
These figures come from the WordPress.org requirements page and the official install guide. They can change, so check the source before you rely on them.
What you need before you install WordPress
Your host is the company that keeps your site online, so check it first. The WordPress.org requirements page recommends PHP version 8.3 or greater, MariaDB version 10.11 or greater OR MySQL version 8.4 or greater, and HTTPS support. Apache or Nginx is the usual server, but any server that supports PHP and MySQL will do.
Older setups can still run the software: the same page says WordPress also works with PHP 7.4+ and MySQL 5.5.5+. Those versions have reached end of life and may expose your site to security vulnerabilities, so treat that as a last resort rather than a plan.
Unsure whether a host qualifies? The requirements page includes a ready-made message you can paste into an email to ask the host directly. It also notes that hosting is more secure when PHP applications run under your account’s username instead of the server’s default shared username.
For a rough floor on server resources, Jetpack’s installation guide suggests 1 GB disk space, 512 MB RAM and a 1.0 GHz CPU. That is a third-party guideline, not a WordPress.org rule, so treat it as a sanity check.
Gather these before you start:
- A hosting account, plus its login details for FTP or shell access.
- A plain text editor, if you plan to edit the configuration file yourself.
- An FTP program, since the Before You Install handbook page suggests FileZilla for uploading files.
- A domain name pointed at your hosting account.
Install WordPress with your host’s one-click installer
If you’re just starting out, a one-click installer is usually the best choice. Jetpack’s guide calls it almost always the best option when your host offers a reliable one, and the WordPress.org installation FAQ confirms that many hosts offer tools like this.
Every host labels things differently, so look through your control panel or support pages for the WordPress option. The general flow looks like this:
- Log in to your hosting control panel and find the WordPress or auto-installer tool.
- Choose the domain, and decide whether WordPress goes in the main folder or a subfolder.
- Enter a site title, an admin username, a strong password and your email address.
- Run the installer, then open your site’s login page and sign in to confirm it worked.
The trade-off is control. You rarely see the database or file layout the installer chose, which matters little for a blog but more if you need a custom setup.
How to install WordPress manually
The manual route suits you if your host has no installer or you want to see how everything fits together. According to the official install guide, installing WordPress takes less than five minutes under most circumstances. Follow these steps in order:
- Download the WordPress package from WordPress.org and unzip it on your computer.
- Create a database for WordPress, plus a database user with all privileges on it.
- Optionally rename the sample configuration file to wp-config.php and add your database details.
- Upload the WordPress files to your server.
- Open your site’s address in a browser to run the install script.
With shell access, the guide says you can fetch the package straight onto the server with wget and skip FTP entirely.

Create the database
WordPress cannot run without a database: the installation FAQ says it needs MySQL or MariaDB to store information. Your host may have set one up already, so check your control panel before creating another.
If you do create one, pick a long, mixed password. The guide recommends combining upper- and lower-case letters, numbers and symbols, and writing the username and password down. If you must reuse a database that is already in use, give the WordPress tables a distinctive prefix so nothing gets overwritten, as the install guide advises.
Upload the files and run the installer
To put WordPress at the root of your domain, upload the contents of the unzipped folder, without the folder itself, into your server’s root directory. For a subdirectory, create the folder first and upload there. Switch off any option in your FTP client that converts file names to lower case, according to the same guide.
You can skip editing wp-config.php if renaming files feels risky. The installer will create the file for you, as the guide explains.
Install WordPress on your own computer
A local copy is a safe place to practise before anything goes public. Learn WordPress says tools like LocalWP, DevKinsta and VVV create a site and install WordPress automatically. With something like MAMP or XAMPP, you install it yourself.
In a local setup, the database server name is usually localhost and the database username is usually root, per the same lesson. The installer then walks you through a short set of screens:
- Choose your language and continue.
- Enter the database details and a table prefix, or accept the default.
- Run the installation, then enter a site title and admin details.
- Optionally tick the box to discourage search engines from indexing your site.
That last option is handy for a test site you never want showing up in search results.
What to do right after you install WordPress
Log in and make sure the dashboard loads. Next, set your language under Settings > General, where the installation FAQ says a Site Language dropdown lives. The install guide also advises checking that email delivery works on your host, since password resets depend on it, as noted on the install guide.
Then think about looks. When you’re ready to pick a design, compare the best wordpress themes before you commit. If you plan to change a theme’s code, read how a wordpress child theme works first.
Which install method should you choose?
Pick by how much control you want. Here is a quick way to decide:
- One-click: best for a first site on a host with a trustworthy installer. Drawback: less visibility into the setup.
- Manual: best when you want to understand the file and database layout. Drawback: more steps, so more room for slips.
- Local: best for practice and testing before launch. Drawback: nobody else can see it.
Jetpack’s guide says manual installs are ideal when you need a very custom file or database structure. Everyone else tends to save time with a managed host. None of the links in this guide are affiliate links.
Frequently asked questions
Do I have to create a database first?
Show answer
Yes, a database must exist before the install script can finish. On many hosts it is created for you, so look in your control panel before building one by hand. The WordPress.org installation FAQ covers the details.
Can I put WordPress in a subfolder?
Show answer
Yes. Create the folder on your server, upload the unzipped files into it and visit that folder’s address to start the installer. The official guide shows both the root and subdirectory layouts.
Why do I see a 403 error after uploading?
Show answer
On Apache, the installation FAQ lists three likely causes: server permissions blocking the request, index.php not set as an allowed directory index, or the filesystem denying access. If everything looks right and the error stays, it advises contacting your host.
Is it safe to skip editing wp-config.php?
Show answer
Yes, for most people. Leaving the sample file alone lets the installer ask for your database details in the browser and write the file itself.



