Lesson 1.2: Setting Up Your Environment
📖 Introduction to PHP
⏱️ 20 min
To start learning PHP, you need a local development environment. We'll use XAMPP.
Step 1: Download XAMPP
Visit https://www.apachefriends.org and download the version for your operating system (Windows, Mac, or Linux).
Step 2: Install XAMPP
- Run the installer
- Choose installation directory (default is fine)
- Install Apache and MySQL (keep defaults checked)
- Complete installation
Step 3: Start the Services
Open XAMPP Control Panel and click "Start" for Apache and MySQL.
Step 4: Test Installation
Open your browser and go to http://localhost. You should see the XAMPP dashboard.
✓ Free Lesson
This lesson is completely free. No enrollment required. Continue learning!