Tips and tricks on developing web sites

Installing XAMPP

Installing XAMP is very simple. I suggest installing it to C:\xampp or whatever drive letter you are using. . I selected the xampp-windows-x64-7.3.27-1-VC15-installer.exe for this exercise. Make sure when you install it that you right click on the file and run it as Administrator.

Xampp has a lot of features! For this example, I only want Apache, MySQL, PHP, Perl (optional) and phpMyAdmin. I suggest installing it in C:\xampp or whatever drive letter you are using. I prefer to manually install WordPress rather than using the free installers option. Xampp will unpack files and give you an operational WAMP server after a couple of minutes. Start the Apache and MySQL servers and Allow access through the firewall. I really like the control panel for XAMPP, it is very easy to use and lets you stop and start the servers easily.

To test that it worked, open a browser and type in localhost in the address bar. You will see that Apache, MariaDB and PHP have been installed. Setting up a web server doesn’t get much easier than that!

Remember that when you launch XAMPP, you must do so as Administrator. If you don’t do that, when you Quit it you will get this nasty message:

You can either right-click and Run as Administrator or set a compatibility rule to always start it as Administrator. Right-click on the XAMPP icon to set the Compatibility mode.

At this point you should install the text editor you prefer on the VM and on your PC. I find Notepad++ to be lightweight and awesome. You should probably install Google Chrome (or use the Chrome-based Edge version) and Firefox too. Firefox is a good idea because it doesn’t use the Chrome HTML rendering engine. At some point, you will need to install an FTP client program like WinSCP. These are the only additional programs I run on my VM Web Server

In XAMPP control panel you should also click on the Config button and set Notepad++ as your default text editor and start Apache and MySQL automatically. Note the FileZilla listed in XAMPP is a FTP server, not a FTP client. That should be it for configuring XAMPP.