Introduction
Localix is a local server manager for Windows. Apache, PHP, MySQL, phpMyAdmin, and Composer are included, so you can run local web projects without installing or configuring anything by hand.
What's included
- Apache 2.4: web server (default port 80)
- PHP 8.4: bundled PHP runtime. PHP 8.2, 8.3, and 8.5 can be installed from the PHP page
- MySQL 9.6: database server (default port 3306)
- phpMyAdmin 5.2: web-based database manager
- Composer 2.9: PHP dependency manager
Installation
Two release formats are available:
Installer
A standard Windows setup wizard. You can choose the install folder.
localix.setup.exe
Portable
A single exe, no installation. Data is kept in a localix-data folder next to it.
localix.0.2.0.x64.exe
Steps
- Open the latest release on GitHub.
- Download
localix.setup.exeor the portable build. - (Optional) Check the file against
SHA256SUMS.txt. - Run the installer, or open the portable build.
First run
- Open Localix. The dashboard opens with Apache and MySQL stopped.
- Click Start All to start both.
- Click Localhost or open
http://localhostin your browser. The Localix welcome page means the server is running. - Click phpMyAdmin or open
http://localhost/phpmyadminto manage databases. - Click Folder www and put your projects there.
root, empty password.Folder structure
After installation, the Localix folder looks like this. The portable build uses the same folders inside localix-data/.
localix/
├── localix.exe # Main app
├── resources/runtime/ # Bundled runtimes (read-only)
│ ├── apache/ # Apache 2.4
│ ├── php/8.4/ # PHP 8.4
│ ├── mysql/ # MySQL 9.6
│ ├── phpmyadmin/ # phpMyAdmin
│ └── composer/ # Composer
├── www/ # ← Put your projects here
├── runtimes/ # PHP / phpMyAdmin installed from the PHP page
├── config/
│ ├── httpd.conf # Apache config
│ ├── php.ini # PHP config (managed from the PHP page)
│ ├── my.ini # MySQL config
│ └── vhosts.conf # Virtual host config (generated)
├── data/
│ └── mysql/ # MySQL data
└── logs/ # Localix, Apache, MySQL, and PHP logsProjects
Every folder inside www/ is treated as a project. Localix scans this folder while it runs and lists each project on the Projects page with its URL and folder.
www/my-project → http://localhost/my-project/
www/portfolio → http://localhost/portfolio/public/ folder are served from public/ automatically. The folder name phpmyadmin is reserved and ignored by the scanner.Virtual Host
Virtual Hosts give each project its own local domain, such as my-project.locx, instead of localhost/my-project.
- Open the Projects page.
- Turn on Virtual host.
- Set the domain suffix (default
.locx) and click Simpan. - Click Copy hosts entry (or Buka hosts file) and paste the entries into the Windows hosts file.
- If a new project's domain is missing, click Regenerate.
127.0.0.1 my-project.locx
127.0.0.1 portfolio.locxLaravel
Composer is included, so you can create Laravel projects without installing PHP or Composer on Windows.
- On the Projects page, click + Laravel.
- Fill in Nama project Laravel (project name) and pick the Lokasi (location) with Browse.
- Click Buat project. Localix runs
composer create-project laravel/laravelwith its bundled PHP and Composer. - When it finishes, the project appears on the Projects page (with a
.locxdomain if Virtual Hosts is on).
Artisan and Composer in the terminal
Turn on PHP in the terminal, open a new terminal, then run commands from the project folder as usual:
cd C:\localix\www\my-store
php artisan migrate
composer require laravel/breeze --dev.env database settings match Localix: DB_HOST=127.0.0.1, DB_PORT=3306, DB_USERNAME=root, DB_PASSWORD= (empty).PHP
Everything PHP lives on the PHP page, which has three tabs.
Versions (Versi)
Install, update, activate, or remove PHP 8.2 to 8.5. Files come from the official PHP site and are checked with SHA-256 before use. Click Periksa update to check for newer versions. You can also switch the active version from the dashboard or the tray menu. If Apache fails to start after a switch, the previous version is restored.
Extensions
Tick the extensions you want enabled. Enabled by default:
pdo_mysql,mysqli,pdo_sqlite,sqlite3for databasesopenssl,curlfor secure connectionsgd,mbstring,zip,fileinfo,intlfor web frameworks
mysqli, mbstring, openssl, and pdo_sqlite are always on and cannot be turned off.
Settings (Pengaturan)
Set memory limit, upload size, max execution time, timezone, showing errors in the browser, and OPcache, then click Simpan & terapkan. Localix tests the new config/php.ini before applying it. Extra lines go in Custom directives. Use Lihat php.ini to view the result or Kembalikan default to start over.
PHP in the terminal
On the Pengaturan tab, turn on Pakai PHP Localix di terminal (use Localix PHP in the terminal). Localix adds the active PHP and Composer to your Windows user PATH, so php, php artisan, and composer in the terminal use the same version and php.ini settings as Localix. When you switch PHP versions, the PATH follows.
phpMyAdmin
phpMyAdmin is pre-installed. Open it with the phpMyAdmin button on the dashboard or at http://localhost/phpmyadmin, then log in with username root and an empty password.
For safety, phpMyAdmin only opens from your own computer (localhost / 127.0.0.1). Newer versions can be installed from the Versi tab on the PHP page.
Logs
The Logs page shows the Localix, Apache Error, Apache Access, MySQL, and PHP Error logs. Use Refresh to reload, Clear Log to empty a log, and Open Logs Folder to open the logs/ folder.
Settings
- Run at Windows startup: Localix starts in the background (system tray) when Windows starts.
- Start services on open: Apache and MySQL start when Localix opens, and the browser can open automatically once the server is up.
- Theme: light, dark, or follow Windows.
- Ports: change the Apache (default 80) and MySQL (default 3306) ports.
- Maintenance: Check Ports, repair the phpMyAdmin config, and reinitialize MySQL data (the old data is backed up first).
Apache
Apache's configuration lives in config/httpd.conf. You can edit it to enable modules or adjust folder access.
MySQL
MySQL is configured through config/my.ini, and its data is stored in data/mysql/. The default port is 3306; change it in Settings if another database server already uses it.
data/mysql/ folder, or export your databases from phpMyAdmin.Port conflicts
If Apache fails to start, port 80 is usually taken by another app (IIS, Skype, XAMPP, and so on). Click Check Ports in Settings to see which ports are in use.
Option A: close the other app
Stop the app that uses the port, then click Start All again.
Option B: change the Apache port
- Open Settings.
- Change the Apache port to a free one, such as
8080. - Restart Apache, then open
http://localhost:8080.
Option C: run as Administrator
Right-click Localix and choose Run as administrator. This can help when Windows refuses access to port 80.
netstat -ano | findstr :80SmartScreen
Because Localix is not signed with a paid certificate yet, Windows SmartScreen may show "Windows protected your PC" when you run the installer.
- Check the file against
SHA256SUMS.txtfrom the release page. - In the SmartScreen dialog, click More info.
- Click Run anyway.
Get-FileHash .\localix.setup.exeUpdating Localix
Download the latest installer and run it. Your projects (www), databases (data), and settings (config) are kept, including when updating from 0.1.0.
FAQ
Can I use multiple PHP versions?
Yes. PHP 8.4 is included, and 8.2, 8.3, or 8.5 can be installed from the PHP page. One version is active at a time.
Can I run php and composer from a terminal?
Yes, after turning on PHP in the terminal on the PHP page.
Does Localix install Windows services?
No. Apache and MySQL run as processes managed by Localix, not as Windows services.
Where are database files stored?
In data/mysql/ inside the Localix folder.
What is the MySQL root password?
It's empty (no password). You can set one in phpMyAdmin.