5.1. Quickstart

The following shows the Quickstart tab of the Project Settings dialog:

Quickstart Settings

The fields that need to be entered are:

  • Project source folder: This is the folder containing your PHP source code. You may have files and folders within this. You can select the source folder just by clicking on the Browse button.
  • Target folder name: This is where the encoded versions of your files will be put. This will be just the name of a folder and not a path. If this folder does not exist then it will be created by the Encoder.
  • Location of the project target folder: This is a path to the folder that will contain the target folder. This can be selected by clicking on the Browse button. The ionCube PHP Encoder will create the target folder within this location if it does not already exist.
  • Encoder version: The ionCube PHP Encoder package not only contains the current encoders but also has the encoders from the previous two versions, legacy (the previous version, 11.0) and obsolete (two versions ago, 10.2). The purpose of providing those older encoders is to cover the case where some of your customers have older loaders and cannot update them to the latest version. That may occur if they are on certain shared web hosts. Files produced by the legacy version should work with version 11.0 loaders and above. Files produced by the obsolete version should work with version 10.2 loaders and above.
  • PHP source language: This is the minimum version of PHP that an end user must have in order to run the encoded files. It must be high enough to include all the language features used by the scripts. Details about the differences between PHP versions can be found in the PHP manual. For performance reasons it is recommended to pick the highest PHP version you can that will still be low enough to satisfy the expected end user base. There is a "PHP 5.6 & 7.1" encoding option that produces a bundled encoding where the encoded files include an encoding for both 5.6 and 7.1. Files encoded using this option will run on PHP 5.6 and 7 with the appropriate ionCube Loader installed. Note that the source files must be language compatible with both PHP 5.6 and 7.1 to use bundled encoding.

Having entered the above settings, click on the OK button and you will then be ready to encode your project.