Lesson 1.1: Installing XAMPP and Enabling Services
- Downloading XAMPP from Apache Friends
- Windows UAC and Firewall permissions
- Starting Apache and MySQL modules
- Fixing xampp-control.ini access errors
A local web server allows you to build, test, and troubleshoot WordPress websites on your personal computer without purchasing web hosting or a domain name. XAMPP is an open-source distribution that bundles Apache (the HTTP web server), MySQL/MariaDB (the relational database), PHP (the scripting engine), and Perl. When downloading XAMPP, always download from the official Apache Friends website (apachefriends.org). Installing on modern Windows systems often prompts User Account Control (UAC) notices regarding permission restrictions if installed inside `Program Files`. Installing into `C:\xampp` avoids these permission issues. Once installed, both the Apache and MySQL services must be started in the XAMPP Control Panel. If you want these modules to start automatically when opening XAMPP, toggle autostart in the Control Panel's Config menu. Should Windows deny write access when saving this setting, close the control panel, delete `C:\xampp\xampp-control.ini`, relaunch XAMPP, and save your preferences.
Practical work
- Download the XAMPP installer from apachefriends.org and install it to C:\xampp.
- Launch xampp-control.exe and start both Apache and MySQL modules until their status indicators turn green.
- Open browser and confirm the web server is responsive by visiting http://localhost/dashboard.
- Configure autostart for Apache and MySQL, verifying no INI access errors occur.