2.13.6.1. Installing MODX
Automatic installation
Use instruction.
Manual installation
Before installation:
- Download from official site an archive with the distribution kit of the latest MODX version on your PC.
- Place the distribution files on the hosting:
- Through filemanager or any FTPclient upload the archive to hosting in root directory preliminarily added site.
- Unpack downloaded archive with filemanager.
- Move the entire contents of the subdirectory
modx-X.X.X-pl
(whereX.X.X
— MODX version number) in root directory. - Rename two files
ht.access
in.htaccess
:- The first is in root directory.
- The second one is in a subdirectory
core
.
- Prepare the database:
- Open the site in a browser by adding to its address
setup
(example -example.com/setup
). -
- "Rights assigned to the new directory" — specify
0750
. - "Rights assigned to a new file" — specify
0640
. - "Disable compression CSS/JS" — leave the checkmark unchecked.
- "Send X-Powered-By Header" — uncheck the box for security purposes.
- Specify your database connection settings and click "Check the connection to the database server and display a list of available mappings":
- "Database type" — make sure it is selected
mysql
. - "Database servers" - instead of
localhost
indicate host (server) address databases. - "Database username" — specify Username (login) Database.
- "Database user password" — specify user password Database.
- "Database name" — specify title Database.
- "Table prefix" — leave the standard prefix
modx_
or specify any other at your discretion.
-
- "Connection encoding" - make sure it is selected
utf8
. - "Comparison" - make sure it is selected
utf8_general_ci
.
- Fill in the administrator's details (they will be used to access the site's admin panel) and click "Next":
- "Administrator login " — specify the administrator's login.
- "Administrator email" — specify the administrator's mail.
- "Administrator password " and "Confirm the password" — enter the administrator password.
- Check the site is working.