Package Physical Structure

A fully functional web application's installation package should meet the requirements laid upon its file and folder arrangement. The application's folder nested within the Application Vault (AV) root directory (…/<plesk_root_dir>/var/cgitory/) should look as follows:

The /apps folder is a real repository of application files, and the remaining folders are service ones used by AV mechanisms.

Folder name

Description

scripts

Contains shell and perl script files used when installing/reconfiguring/uninstalling applications on the domain side.

forms

Contains PHP files of two kinds – data input forms necessary to install/reconfigure/uninstall applications on a domain, and files with event handlers matching these forms.

apps

Contains TAR archive files that store files of the application itself and extracted on a domain.

uninstall

Contains the uninstall script used while removing the installation package from AV Repository. This script is optional.

docs

Contains a document displayed by Plesk Context Help system to describe a given application.

info

Contains the info.xml file that describes the application's properties. The file is necessary to display the application in Plesk Control Panel. Also, the /info folder contains an image used by default if a custom button is created.

screenshots

Contains screenshots of the application's GUI.

In this section:

Scripts folder

Forms folder

Apps folder

Info folder

Docs folder

Uninstall folder

Screenshots folder