Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

PHP Setup & Installation

Option 1: XAMPP (Cross-Platform)

XAMPP includes PHP, Apache, MySQL, and phpMyAdmin.

  1. Download from apachefriends.org
  2. Install and launch the control panel
  3. Start Apache and MySQL services
  4. Place your PHP files in htdocs/ folder

Option 2: WAMP (Windows)

Windows-specific bundle with Apache, MySQL, and PHP.

Option 3: LAMP (Linux)

sudo apt update
sudo apt install php mysql-server apache2

Verify Installation

Create info.php:

<?php phpinfo(); ?>

Access http://localhost/info.php to see your PHP configuration.