Installing MODX

Before installation:

  1. Download from official site an archive with the distribution kit of the latest MODX version on your PC.
  2. Place the distribution files on the hosting:
    1. Through filemanager or any FTPclient upload the archive to hosting in root directory preliminarily added site.
    2. Unpack downloaded archive with filemanager.
    3. Move the entire contents of the subdirectory modx-X.X.X-pl (where X.X.X — MODX version number) in root directory.
    4. Rename two files ht.access in .htaccess:
      1. The first is in root directory.
      2. The second one is in a subdirectory core.
  3. Prepare the database:
    • If there is no free database, create new.
    • If there is an unused database, you can clear and use it.
  1. Open the site in a browser by adding to its address setup (example - example.com/setup).
  2. Select the desired language from the drop-down list and click "Choose":
  3. Clickon "Next":
  4. Pleaseselect "New installation, specify additional installation parameters and click "Next":
    • "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.
  5. 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.
  6. Check connection encoding and mapping and click "Attempting to create or fetch from a database":
    • "Connection encoding" - make sure it is selected utf8.
    • "Comparison" - make sure it is selected utf8_general_ci.
  7. 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.
  8. Read the report and click "Set":
  9. Wait for the operation to complete and press "Next":
  10. Make sure the checkbox to remove installation files is checked and click "Login":
  11. Check the site is working.