Multiple PHP versions
Add or remove versions through their folders. The launcher finds every php.exe and keeps extensions and php.ini options independent.
Portable local environment for Windows
Choose PHP, configure extensions and main options, point to your project, and decide whether MySQL should run. LitePHP prepares everything from its directory.
Open source · No installation · Built for local development
Simple by design
LitePHP keeps the convenience of a Batch file and adds version selection, visual php.ini management, port checks, and controlled shutdown.
Add or remove versions through their folders. The launcher finds every php.exe and keeps extensions and php.ini options independent.
Start the database only when needed. Every version keeps its configuration, data, and logs separate.
No absolute launcher paths. Move LitePHP to another drive or computer and keep the same clear structure.
PHP, project, port, and MySQL are summarized at startup. Reuse them or start over in seconds.
PHP server requests stay in the main terminal, so the runtime never hides what it is doing.
Press Q: LitePHP stops PHP, sends the shutdown command to MySQL, and releases ports in order.
Precise control
Open the visual manager from LitePHP, choose a runtime, and configure extensions and main php.ini options without manual edits.
Extensions and options affect only the selected PHP version.
LitePHP checks modules and effective values with the matching php.exe before replacing php.ini.
The first save keeps the original php.ini ready to restore from the same window.
The workflow
LitePHP scans PHP\* and lists every available version.
Paste the document root, including paths that contain spaces.
Press Enter for port 80 or provide a different local port.
Start an available version or continue with PHP only.
Readable structure
No installer and no registry edits. Each runtime lives in a recognizable directory and can be replaced without touching the launcher.
Close without surprises
The PHP server stays visible. MySQL runs in the background without an empty second window. When you are done, Q starts a clear, verifiable shutdown sequence.
Ready in minutes
The repository contains the launcher. Add the official ZIP distributions you want to use locally.
git clone https://github.com/borindesign/LitePHP.git
For PHP, choose the x64 Non Thread Safe (NTS) ZIP build. For MySQL, choose Windows (x86, 64-bit), ZIP Archive.
.\LitePHP.bat
A local environment that stays understandable
LitePHP is small, transparent, and built with tools already available on Windows.