Docs

Help

Where everything is kept, and what to do when something does not work.

Where things are

Everything sits in the folder you chose at setup (C:\LocalDen unless you changed it). Local.Den folder in Settings opens it.

Folder or fileWhat is in it
wwwYour websites (unless you use another folder)
dataYour databases, one folder for MariaDB and one for MySQL
backupsSafety copies of your databases
logsEvery log file
conf\php.iniYour PHP settings
conf\my.ini, conf\mysql.iniYour MariaDB and MySQL settings
conf\apache-extra.confYour own Apache lines
conf\sitesOne file per extra site
apache, php, mariadb, mysql, toolsThe programs. Local.Den looks after these

The files in conf listed here are yours: updates never touch them. One file is not: conf\httpd.conf is written again each time Apache starts, so put your own Apache lines in apache-extra.conf.

When something is wrong

Windows says "Windows protected your PC"
The installer is not code signed yet. Choose More info, then Run anyway.
"Port 80 is already used by ..."
Another program has that port: often AMPPS, XAMPP or another web server. Stop that program, or choose another port in Settings. With web port 8080, your sites are at http://localhost:8080.
Apache or the database does not start
Open the Logs page and switch on Errors only: the last lines say why. If you just edited a settings file, the line with the mistake is named there. If a yellow note on the Home page says a Microsoft part is missing, press Install it.
A site broke after a PHP update
On the Updates page, press Back to on the PHP row, or choose an older PHP line under the list until the site is ready.
My site cannot sign in to the database
Compare the site's config with the login: host 127.0.0.1, the database port from Settings, user root and the password shown in Settings. The quickest fix is often to change Local.Den's password to the one the site already uses.
A database "could not be loaded" when importing or switching
The reason is shown next to its name, and the other databases are not affected. The saved copy of that database is in the backups folder, and the original is still in the server it came from.
I closed the window and cannot find Local.Den
It is still running, next to the clock (click the small arrow there if the icon is hidden). Click it to open the window.

Not there yet

  • No HTTPS for local sites.
  • Local.Den tells you about a new version but does not install it by itself: you run the new installer.
  • The installer is not code signed, so Windows shows a warning.
  • Windows only, 64-bit.