![]() We’re going to use a simple xampple (sorry, I had to get that out of the way, been thinking about saying that for a long time): we’re going to install XAMPP and WordPress with some test data to have WordPress right on our desktop. In this tutorial – you’ll see exactly how XAMPP can do splendid things to your development cycles. XAMPP allows you to develop PHP and Perl-based server-side scripting applications without the need for a remote web server, offering you the opportunity to work faster, develop stuff more securely, and work on your apps without an internet connection. ![]() To sum it up in one sentence: XAMPP, which stands for Cross-Platform (X) Apache, MySQL, PHP and Perl, is a popular, free and open source web server package that you can use to install a web server onto your desktop. Once that’s out of the way, we’ll install WordPress so that you can have your very own professional, light-weight PHP and WordPress development environment. Note, if you have database connection issues, you will need to locate the database connection file within your project and update the connection.In this tutorial, you’ll learn how to install and configure XAMPP for the desktop. Here we can make changes to the site without worrying about affecting the live site! Now that everything is set up, we can open up our browser and visit testapp.build, and we can see our local site. At the bottom of the file, add the following: At the bottom of the file add the following code:įinally, for the last step, open up Notepad as an administrator and open C:\Windows\System32\drivers\etc\hosts. Now that we all of our files and database setup, we need to create a virtual domain for the site. This will complete copying the database locally. With the import tab open, select the.sql file and press Go at the bottom. On the sidebar, click the newly created database and click the import tab. Once phpMyAdmin is open, create a new database with the same name as the live database, in my scenario, it will be 000example. With the XAMPP Control Panel open, start Apache and MySQL, then click the Admin tab on MySQL. The first step is to copy the files from (C:\Users\#YOURNAME#\Desktop\Backup\) into your XAMPP htdocs folder, inside of a test folder (C:\xampp\htdocs\test\). Now that we have everything needed to recreate the site locally, we can start working with XAMPP. Simply download all the files from your root level connection and save it into the backup folder (C:\Users\#YOURNAME#\Desktop\Backup\). Using Filezilla, enter your FTP credentials and create a connection to your server. You will need FTP access to do this, and an FTP client, we suggest Filezilla. Now that you have a copy of your database, all that is left is to grab a copy of all your files from your server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |