Installing WordPress
-
I want to install WordPress on my windows computer. I want to do this to learn WordPress. I am particular interested in learning the tool Gutenberg for the creation / modification of HTML files.
I have installed XAMPP on my machine. I have not done a separate install of MySQL and I prefer not to if it is not required. What is the next step in the process of installing WordPress on my machine?
-
The next step is to create a database.
You can follow this article, which explains every step.
-
This reply was modified 1 year, 5 months ago by
Sukhendu Sekhar Guria.
I completed the first fours steps. After doing so, I see this on my screen:
Index of /testsite
NameLast modifiedSizeDescription
Parent Directory – Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80I think it is working but I am not sure. So I go to the next step by entering the URL: http://localhost/testsite/wp-admin/setup-config.php
However, that does not work. What did I do wrong? Do I need to separately install PHP?
Try this guide instead: https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/installing-xampp/
Or, try WAMP, which is a local server environment specifically built for Windows: https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/wampserver/
Or, try VVV, which is a local server environment specifically built for WordPress: https://varyingvagrantvagrants.org
Based upon your first suggestion, I created a file wp-config.php .
DB_NAME=testsite
DB_USER=root
DB_PASSWORD=
DB_HOST=I placed the file in the directory: c:\Program files\WordPress.com
I have a feeling that I have the wrong values in the file and/or placed in the wrong place. Please comment.
Why did you place the files in a directory called WordPress.com?
First, to clear up any confusion, WordPress.com and WordPress.org are two different entities: https://wordpress.org/documentation/article/difference-between-wordpress-org-and-wordpress-com/
But also, these files need to be placed in your local server’s web directory, not a random place on your hard drive.
Please specifically, without any deviation, follow one of the three guides that I linked to earlier.
James,
Thanks for the response. I thought I would download the zip file for wordpress again which I did. I need to extract these files. I do not know where to put them. Does it matter? What about C:\Program Files\WordPress?
At the bottom of https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/installing-xampp/ you’ll find links for two ways to install WordPress once you have XAMPP properly set up and configured:
- https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/from-zip/
- https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/from-svn/
Please follow one of those methods. The same can be used if you set up WAMP instead of XAMPP.
You don’t need to follow those for VVV, since it already includes WordPress.
James,
Thanks for the response. I am trying to perform this step:
Manual:Open
wp-config-sample.phpin your plain text editor and enter theDB_NAME,DB_USER,DB_PASSWORD, andDB_HOSTinformation for your local web server, then Save the file aswp-config.phpin the root of the folder WordPress will be installed in (e.g. wordpress-trunk).The problem is I am confused about where to put the file. Does C:\Program Files\WordPress seem right to you?
You put wp-config.php in the same directory as wp-config-sample.php.
James,
Thanks for the response. I put the config file where you suggested. If I go to the following URL: http::/localhost/testsite I see the following which I believe is correct:
Index of /testsite
NameLast modifiedSizeDescription
Parent Directory – Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80When I go to: http://localhost/testsite/wp-admin/setup-config.php it does not work. It says:
Not Found
The requested URL was not found on this server.Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80
What am I doing wrong?
setup-config.php is not a WordPress file.
Please review the steps at https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/from-zip/ again.
I put setup-config.php in the directory c:\xampp\php\scripts . Is that the right place to put it? However, I still get the same error.
I am wondering if I should give up on trying to install WordPress. Do you have a feel for how close I am to completion?
Let’s circle back to the beginning. 🙂
What are you hoping to do with this installation?
Are you hoping to learn how WordPress works, learn how to develop plugins/themes for WordPress, or host a publicly accessible website?
The plan (not set in stone) is for me to update a public accessible website for a local chess club. I believe that the site was developed using WordPress. Therefore, I thought I would install WordPress on my local machine so I could learn it. The original developer is not available.
In the past when I developed a website, I wrote the HTML using an editor like VI or Notepad++
” Therefore, I thought I would install WordPress on my local machine so I could learn it.”
I recommend using https://localwp.com to set up a local test site. It’s just a 5 minute task.
-
This reply was modified 1 year, 5 months ago by
The topic ‘Installing WordPress’ is closed to new replies.