Skip to content

Home · Blog · Installing MODX Revolution on a local server

Send a request

New format

Installing MODX Revolution on a local server

A local MODX Revolution install lets you build the site on your computer before hosting: edit templates, chunks, and snippets without risking the live domain.

Below: the general order — download the package, unpack into the local server folder, create a DB, and run `/setup`. OSPanel/Open Server clicks and MODX wizard labels change — check current docs; the steps stay the same.

Share
Telegram

Why install MODX locally

Local is a sandbox: you can err, roll back the DB, and not take down prod. Handy for learning the manager, TV fields, and packages without paying hosting for every experiment.

MODX is flexible in markup and logic, but it’s not a “big store button out of the box.” For high-load e-commerce compare stack and team skills — not only the CMS brand.

Benefits of this approach:

  • free open-source engine
  • flexible templates and chunks
  • easy to learn before deploy
  • same order as on hosting: files + DB + setup

Web server Site admin panel

Prep: local server and files

Install a local stack (often OSPanel / Open Server successor) and make sure you can start and restart it. Download the MODX Revolution package only from the official site.

Unpack the archive into the virtual-host folder — e.g. `domains/modx.local` or your panel’s equivalent. Folder name = local site name. After copying files, restart the server so the host is picked up.

Before setup check:

  • PHP and extensions match your MODX version requirements
  • write permissions on needed directories
  • a stub/files open at `http://modx.local/`
  • antivirus isn’t blocking unpack

Practice

Before MODX setup

Official archive and a working host.

0 / 6 done

Database

Via phpMyAdmin or CLI create a database and a MySQL/MariaDB user with rights on that DB. Locally some panels simplify phpMyAdmin login by default — don’t do that on prod.

Remember DB name, user, password, and host (`localhost` / `127.0.0.1`). Prefer a non-default table prefix — a small security and clarity win with several sites on one server.

Setup wizard /setup

Open `http://your-local-host/setup`, pick language and “new install.” Enter DB settings, check the connection and UTF-8, create the manager admin account.

If pre-install checks show OK — finish install. Always delete the `setup` directory (the wizard usually offers it). Admin login — `/manager`.

Wizard fields (meaning)

FieldGuide
DB typemysql / mariadb by stack
DB serverlocalhost or 127.0.0.1
User / passwordCreated at the DB step
DB nameThe same database
Table prefixYour own, not the shared default
Manager adminUnique login and strong password

Test yourself

Mini quiz: MODX locally

Two checks.

1 The MODX admin is usually…
2 After install the setup folder…

After install

Update MODX and packages, set friendly URLs, check the site locally. Before moving to hosting match PHP/MySQL versions and back up files and DB.

Protect `/manager` on production like any admin: strong password, extra access limits if possible, updates.

Site security

Takeaways

Local MODX = files into a virtual host + DB + `/setup` + delete setup + login at `/manager`. Check panel UI and package details in current docs.

Don’t lean on “5000-page limit” myths from old comparisons — weigh the task, load, and skills.

FAQ

How does Traditional differ from other packages?

Historically Traditional was a normal site install; Advanced/SDK — special scenarios and package development. Check current names and contents on the MODX download page.

Is Open Server required?

No. OSPanel, XAMPP, Laravel Herd, Docker, etc. work. You need PHP, a web server, and MySQL/MariaDB versions matching your MODX.

Where is the admin after install?

Usually `/manager`. Delete the `setup` folder after a successful install.

Is MODX limited to “no more than 5000 pages”?

Old reviews wrote that — it’s not a hard CMS law. Limits depend on hosting, cache, and architecture. For heavy e-commerce look at the stack and load, not a myth from a 2018 guide.

Is an empty root password in phpMyAdmin okay?

Only on an isolated local stack by default in some builds. Never on production.

Installing MODX from a random “CMS pack” — or leaving /setup on the local host?

We’ll use the official package, wire DB + virtual host, finish setup, and remove setup before you build templates.

Discuss the task