Check for PHP version

Flextype is incredibly easy to set up and get running.
Be sure you have at least PHP version 7.2.0+ by going to the terminal and typing php -v:

            php -v
            PHP 7.2.20 (cli) (built: Jul  5 2019 12:51:26) ( NTS )
            Copyright (c) 1997-2018 The PHP Group
            Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
                with Zend OPcache v7.2.20, Copyright (c) 1999-2018, by Zend Technologies

Using (S)FTP

Download the latest version.

Unzip the contents to a new folder on your local computer, and upload to your webhost using the (S)FTP client of your choice. After you’ve done this, be sure to chmod the following directories (with containing files) to 755 (or 777), so they are readable and writable by Flextype:

  • site/

Using Composer

You can easily install Flextype with Composer.

            composer create-project flextype/flextype

Also you may need to install vendor libs for Default Theme

            composer install
            cd site/themes/default
            npm install

Using command-line

If you have command-line access, you can easily install Flextype by executing a few commands. First, create the directory where you want to install Flextype, if it doesn’t already exist. Enter the directory, and execute the following commands:

            chmod -R 0777 site/

Installation issues

Broken subpages

Your homepage is working, but subpages won't open or lead to a server error?

  1. Make sure that the .htaccess file is present in your Flextype folder.
  2. Check if mod_rewrite is enabled on your server.
  3. Please try setting the RewriteBase in the .htaccess file:

    RewriteBase /

If you run Flextype in a subfolder, make sure to set the RewriteBase according to the name of your subfolder:

            RewriteBase /my-subfolder/

Themes Installation

  1. Unzip theme to the folder /site/themes/
  2. Go to /site/config/settings.yaml and update theme setting with your theme name.
  3. Save your changes.

Plugins Installation

  1. Unzip plugin to the folder /site/plugins/