![]() Your database name will be the same you have created inside phpMyAdmin ( test in the example above). Fill in the setup form with the data WordPress requires. Now, start the WordPress installer at localhost/wordpress and go step-by-step through the installation process. It will be populated with data by the WordPress installer in the next step. ![]() Your database will be empty at the moment. When your new database is done, it will appear in the left sidebar of phpMyAdmin. You also need to choose the character encoding from a dropdown list. I’ll use the “test” database name in the example, however, you can use any other name. Inside phpMyAdmin, click the Databases menu in the top menu bar and create a new database. As you have installed it together with XAMPP, you can find it by typing localhost/phpMyAdmin into the address bar of your browser. Now, when you navigate to the localhost/wordpress page in your browser, you should see the following WordPress installation screen:īefore you run the WordPress installer, you need to create a database for your WordPress site using the phpMyAdmin database management software. You can also rename your WordPress folder if you want, for instance you can use the /xampp/test-site name. The default path of your local WordPress install should be /xampp/wordpress. If you have installed XAMPP without modifying the settings you can find the /xampp folder on your main hard drive (usually C:/xampp).Įxtract the ZIP file and move the inner wordpress folder one level up. Save your local WordPress install to the /xampp/htdocs folder on your computer. You can find older WordPress versions on the Releases page. Many plugins and themes behave differently on different WordPress versions, so you should aim to make your local environment as similar to your production environment as possible. ![]() However, if your production site uses an older WordPress version, you can also download the same release you use online. Ideally, you should download the freshest WordPress release. Go to the Download page at and download WordPress. If yes, XAMPP runs properly on your machine and you can start creating your local WordPress environment. To test it, type localhost into the URL bar of your browser and check out if you can see the “Welcome to XAMPP” screen. Now, your local web server is up and running. Click the Start buttons next to the modules’ names and wait until XAMPP notifies you that they are properly running. In your XAMPP Control Panel, you need to start two modules: Apache and MySQL. Right-click the icon and click the Show / Hide option that will make your XAMPP Control Panel appear on the screen. You will find a little orange XAMPP icon in the taskbar, next to the date/time and language settings. Go through the installation process and when it’s done, start your XAMPP web server. Besides the compulsory components you can’t opt out from (Apache and PHP), you need to select MySQL and phpMyAdmin to create a local WordPress install. It will ask you to select the components you need. ![]() This way your local and production environments will be more or less in sync. PHP 5.x), go to the Download page and download the XAMPP version bundled with PHP 5.x. However, if your production WordPress site runs on an older version of PHP (i.e. ![]() On the homepage, the default Windows installer is based on the latest PHP version (currently, PHP 7.3). Click the XAMPP for Windows option and save the installer to your computer. You can download XAMPP right from Apache Friends’ homepage. In this guide, we will look into how to use XAMPP to set up a local WordPress environment on Windows. XAMPP is not only good for WordPress development but any kind of web development that requires a PHP and/or Perl-enabled web server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |