Installation | Flextype

Installation

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

  1. Download the latest version of Flextype.
  2. 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, create directory /project and be sure to chmod the following directory to 755 (or 777), so it is readable and writable by Flextype.
  3. Create CDA, CMA and Access tokens for your project using this webpage.

Using Composer

You can easily install Flextype with Composer.

Once you have installed Composer, run the following command to set up Flextype:

composer create-project flextype/flextype

or you may setup Flextype with a dev stability

composer create-project flextype/flextype --stability=dev

Create CDA, CMA and Access tokens for your project using this webpage.

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:

wget https://github.com/flextype/flextype/releases/download/v0.9.8/flextype-0.9.8.zip
unzip flextype-0.9.8.zip
chmod -R 0777 project/

Create CDA, CMA and Access tokens for your project using this webpage.

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/
Language: en, ru Version: 0.9.8 | 0.9.7