# pxp - PHP Version Switcher for XAMPP > A simple yet powerful CLI tool to manage multiple PHP versions in XAMPP on Windows. Switch between PHP versions instantly with automatic Apache configuration. - URL: https://pphat.me/projects/pxp-cli - Status: completed - Tags: CLI, PHP, XAMPP, Developer Tools, PowerShell, Batchfile, .NET - Contributors: PPhat DEv - Updated: 2026-04-28 ## Project --- # ✨ **About Project** PXP (Personal XAMPP PHP) is a simple yet powerful CLI tool to manage multiple PHP versions in XAMPP on Windows. Built for developers who need to test their applications across different PHP versions, PXP makes version switching effortless. With just a single command, you can switch between PHP 7.x and 8.x versions, download new versions automatically, and manage your PHP installations safely. The tool handles all the complexity of Apache configuration updates, module naming conventions, and service management, ensuring smooth transitions between versions. # 🛠️ **Project Tech Stack** - **Core:** - PowerShell `5.1+` - Windows Batch Files - .NET SDK `6.0+` (for MSI installer) - **Dependencies:** - XAMPP (Windows) - Windows `10/11` - Apache `2.4` - **Distribution:** - MSI Installer (WiX Toolset) - GitHub Releases - Manual Installation # 🌈 **Project Features** - 🔄 **Instant Version Switching** - Switch between PHP versions with a single command - 📦 **Automatic Downloads** - Install new PHP versions directly from windows.php.net - 🗑️ **Safe Uninstall** - Remove PHP versions with confirmation and validation - 📋 **Version Listing** - View all installed PHP versions with active version indicator - 🌐 **Global PHP Discovery** - Fetch available stable PHP versions from PHP.net - ⚡ **Auto Apache Config** - Automatic Apache configuration and module updates - 🛡️ **Safe Backups** - Automatic backups before switching versions - 🚀 **Service Management** - Automatic Apache stop/start during version switching - 📦 **MSI Installer** - Easy installation with automatic PATH configuration - 🔧 **Git Bash Support** - Compatible with Windows terminals and Git Bash ## Related - [All pages](https://pphat.me/llms.txt): Index of pphat.me - [About the author](https://pphat.me/about/llms.txt)