![]() Go to XAMPP official website (Apache Friends) and download XAMPP. Steps to Install WordPress on localhostīefore starting, let us first install XAMPP server. PhpMyAdmin perform useful tasks like creating a new database, modifying or deleting it, adding tables, executing SQL statements, managing permissions, etc. PhpMyAdmin− It is an open source tool to handle MySQL administration on a web browser. ![]() XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). ![]() Xampp− It was created by Apache Friends and is an open source cross-platform web server solution stack. It was initially released in the year 2003 and its current version is WordPress 4.4. WordPress− It is an open source content management system founded by Matt Mullenweg and Mike Little. Some well know CMS include, WordPress, Drupal, and Joomla. TerminologyĬontent Management System (CMS) − A CMS has a central interface that is used to publish, edit, modify, and maintain content. Here’s how we start with WordPress on localhost using XAMPP. Beginners generally begin with WordPress on localhost. It is an open source CMS based on MySQL and PHP. You can now begin building and testing your website locally before deploying it to a live server.WordPress is a free content management system (CMS) and well-known across the globe. You can now access your locally installed WordPress site by going to (or the folder name you chose in Step 4) in your web browser.Ĭongratulations! You’ve successfully installed WordPress on your local host using XAMPP.WordPress will set up your site, and once done, you’ll see a success message. On the next page, enter your site’s information, such as site title, username, password, and email address.Click the “Run the installation” button.If the connection details are correct, WordPress will show you a success message. Database Host: Leave this as the default value ( 'localhost').Password: Leave this field empty (no password by default in XAMPP).Username: 'root' (the default MySQL username in XAMPP).Database Name: The name of the database you created in Step 3 (e.g., “wordpress”).On the next page, you’ll be asked to enter your database connection details.Select your language and click the “Continue” button. You will see the WordPress installation page.Open your web browser and go to (replace “wordpress” with the name of the folder you created in Step 4 if different).Replace 'password_here' with an empty string (by default, XAMPP has no password for the MySQL root user).Replace 'username_here' with 'root' (the default MySQL username in XAMPP).Replace 'database_name_here' with the name of the database you created in Step 3 (e.g., 'wordpress').Open “wp-config.php” with a text editor (like Notepad on Windows or TextEdit on macOS) and find the following lines:ĭefine(' DB_NAME', 'database_name_here') define( 'DB_USER', 'username_here') define(' DB_PASSWORD', 'password_here').In the “wordpress” folder, find the “wp-config-sample.php” file, and rename it to “wp-config.php”.On Windows, this is typically located at “C:\xampp\htdocs” on macOS, it’s “/Applications/XAMPP/htdocs/” and on Linux, it’s “/opt/lampp/htdocs/”. Save the zip file to your computer and extract its contents to a folder (e.g., “wordpress”) in the “htdocs” directory of your XAMPP installation.Go to the official WordPress website ( ) and click the “Download WordPress” button.Enter a name for your WordPress database (e.g., “wordpress”) and click the “Create” button. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |