Meet NAMP: the free local PHP server for Windows better the xampp

NAMP is a free, one-click local web server for Windows that gives every PHP project its own HTTPS domain and keeps your databases safe, even if the power goes out.

NAMP is a free, one-click local web server for Windows that gives every PHP project its own HTTPS domain and keeps your databases safe, even if the power goes out.

If you build PHP sites on Windows, you know how it goes. You install a stack, edit the hosts file by hand, fight with self-signed certificates, and hope MySQL survives the next crash. One bad shutdown can leave you staring at a corrupted table at 2 a.m.

We built NAMP to end that. It is a single installer with everything you need to run Laravel, WordPress or plain PHP on your PC. It also behaves much more like a real production server than the tools most of us grew up with.

Download NAMP free

What's inside: one download, nothing else to install

NAMP bundles the full stack in a single 110 MB installer, including the Visual C++ runtime. You don't need to hunt down extra downloads.

Component Version
Apache 2.4.71
PHP 8.5.13 and 8.3.37
MariaDB 11.8 LTS
phpMyAdmin 5.2.3

You can switch between PHP 8.5 and 8.3 in Settings with a click. phpMyAdmin opens already logged in. When you close the NAMP window, every service shuts down safely.

NAMP is built for Windows 11 (64-bit). Windows 10 should work too. And it costs nothing.

Every project gets a real domain with HTTPS

Forget localhost/myproject/public. In NAMP, you type a name like myshop and your site opens at https://myshop.local, and the browser trusts the certificate.

Behind the scenes, NAMP updates your hosts file and issues a trusted certificate for that site. You never touch either one yourself.

Secure cookies, OAuth callbacks, payment sandboxes and service workers all expect HTTPS, so testing on a local domain with a real certificate catches those bugs before you deploy.

Is a local certificate authority safe? NAMP's CA can only issue certificates for local names such as .local and .test. Its root key is destroyed right after setup, so it can't be used to sign anything else.

Each site also gets its own error log, visit log and PHP log. No more digging through one giant file to find out which project broke.

Pull the plug. Keep your data.

The biggest difference between NAMP and older local stacks is what happens when things go wrong. We assumed your laptop will crash, or Windows will restart for an update at the worst possible moment, and built around that.

When MariaDB confirms a write, that write is already on disk. MariaDB also runs as a Windows service, not inside a window you might close by accident.

If a crash does damage something, NAMP repairs it on the next start and keeps a last-good copy. Damaged files are moved aside, never deleted, so you can still look at them. NAMP also backs up your databases every hour, compressed, and you can restore one in two clicks.

These figures come from our own testing:

Test Result
Database killed mid-write with three busy writers 0 of 8,750 committed rows lost
Damage cases repaired 3 of 3
End-to-end checks run on every build 42

Small things, done right

You need admin rights once, during setup. After that, a small helper service edits the hosts file and installs certificates for you, so you won't see another UAC prompt.

If Apache or MariaDB crashes, NAMP restarts it on its own. Every site gets its own logs too, and you can search them or watch them update live.

Bring any PHP project

NAMP works with the projects you already have:

  • Laravel: point the site at your project's public folder.
  • WordPress: mod_rewrite is on, so pretty permalinks work.
  • Plain PHP: put your files in C:\NAMP\www.
  • APIs and webhooks: call your .local sites with cURL to test integrations end to end.

Coming from XAMPP?

You don't have to remove XAMPP first. NAMP and XAMPP both use ports 80, 443 and 3306, so they can't run at the same time on the same ports. Either stop XAMPP's Apache and MySQL before starting NAMP, or change NAMP's ports in Settings.

Then move your project folders and import your databases through phpMyAdmin.

Getting started

  1. Download the installer from lvato.com/namp and run it. Windows asks for admin rights this one time. The download page lists a SHA-256 checksum if you want to verify the file.
  2. Create a site and give it a name, such as myshop.
  3. Open https://myshop.local in your browser.
  4. If your project needs a specific PHP version, pick 8.5 or 8.3 in Settings.
  5. Point your app at the database with these settings:
Setting Value
Host 127.0.0.1 (or localhost)
Port 3306
User root
Password empty

For Laravel, those values go straight into your .env file. For WordPress, use them in wp-config.php.

When you're done for the day, just close NAMP. All services stop cleanly.

Frequently asked questions

Is NAMP really free?
Yes. NAMP is free to download and use.
Can I run it alongside XAMPP?
You can have both installed. Just don't run them on the same ports at once. Stop XAMPP's Apache and MySQL, or change NAMP's ports.
What happens if my PC loses power?
Confirmed writes are already on disk. On the next start, NAMP repairs any damage, keeps a last-good copy, and sets damaged files aside instead of deleting them.
Do I need admin rights every time?
No. Only once, during installation.
Is the HTTPS certificate safe?
Yes. NAMP's certificate authority can only sign local names like .local and .test, and its root key is destroyed after setup.
Which Windows versions are supported?
Windows 11, 64-bit. Windows 10 should work too.
How do I uninstall it?
Go to Windows Settings > Apps, find NAMP, and uninstall it like any other app.

From local to live

When your project is ready to move from myshop.local to myshop.com, Lvato hosting includes:

  • Plans from $0.50 a month
  • Free SSL on every site
  • Free migration of your existing sites
  • 24/7 support
  • 30-day money-back guarantee

Build it on NAMP first, then move it to Lvato when it's ready.

Your local server, sorted

NAMP is one free download. It gives each project its own HTTPS domain, keeps your databases safe through crashes and power cuts, and stops asking for admin rights after setup.