FlatPhile

Guides

How to install a flat-file CMS on shared hosting

Most flat-file CMS install the same way: upload a folder, open the address, create an admin account. This guide covers the general steps. Each system's own documentation, linked on its FlatPhile page, has the details.

You need: a webspace with PHP, FTP or SFTP access (or a file manager in your hosting panel), and about 15 minutes. You do not need a database.

  1. Pick a system

    Use the finder with "Runs on shared PHP hosting" switched on. Systems that need Composer or the command line are harder to install on plain webspace.

  2. Check the PHP version

    Each system page lists the minimum PHP version. In your hosting panel, look for "PHP version" or "PHP settings" and switch to a current version if needed. Also check that URL rewriting (mod_rewrite on Apache) is available; almost every host has it.

  3. Download the release

    Get the ZIP from the project's website or its GitHub releases, not the repository's "Download code" button, which may be an unfinished development version.

  4. Upload the files

    Unpack the ZIP on your computer and upload the contents to your webspace, either into the main folder or a subfolder. Many hosting panels can also unpack a ZIP directly on the server, which is much faster. Make sure hidden files such as .htaccess are uploaded too.

  5. Set write permissions

    The CMS must be able to write its content, cache and settings folders. The documentation says which ones. Usually 755 for folders and 644 for files is enough; avoid 777.

  6. Open the site and create your account

    Visit your domain. Most systems now show an installer or ask you to create the first admin account. Use a long, unique password, and change any default admin URL if the system allows it.

  7. Switch on HTTPS

    Activate the free certificate in your hosting panel (often called Let's Encrypt) and make sure the site redirects to https. Never log in to an admin panel over plain http.

  8. Plan backups and updates

    Your site is a folder: download it regularly, or let your host back it up. Before every update, copy the folder first. Follow the project's release notes or its GitHub releases so you hear about security fixes.

Using Git instead of FTP

If your host offers SSH or you deploy through a service, you can keep the whole site in a Git repository and deploy by pushing. Content changes then have a full history. Systems marked "Works with Git" in the finder support this well.