Installing the Emaj_web client


Emaj_web requires a web server with a php interpreter.

Plug-in download

The Emaj_web application can be downloaded from the following git repository:

Application configuration

Two configuration files have to be set up.

General parameters

The file emaj_web/conf/ contains the general parameters of the applications. It includes in particular the description of the PostgreSQL instances connections.

The emaj_web/conf/ file may be used as a configuration template.

Plug-in parametrization

As Emaj_web reuses the plugin for phpPgAdmin, the parameters that are specific to the plugin are defined into a separate file: emaj_web/plugins/Emaj/conf/

In order to submit batch rollback (i.e. without blocking the use of the browser while the rollback operation is in progress), it is necessary to specify a value for two configuration parameters contained in the Emaj/conf/ file:

  • $plugin_conf[‘psql_path’] defines the access path of the psql executable file,
  • $plugin_conf[‘temp_dir’] defines a temporary directory that rollback functions can use.

The distributed file can be used as a configuration template.