Add to Favourites Add to Favourites    Print this Article Print this Article

New variable PLESK_LIBEXEC_DIR was introduced in Parallels Plesk Panel 9

New variable PLESK_LIBEXEC_DIR was introduces in Parallels Plesk Panel version 9.0. The variable indicates directory where internal utilities are stored.
The value is determined according to operating system and architecture.

For Debian, Ubuntu, CentOS, FedoraCore, RedHat and SuSe:

PLESK_LIBEXEC_DIR = /usr/${ARCH_LIB_DIR}/plesk-${RELEASE_VERSION}

For FreeBSD:

PLESK_LIBEXEC_DIR = /usr/local/libexec/plesk-${RELEASE_VERSION}

Variable ARCH_LIB_DIR is lib for all 32bit operating systems and Debian/Ubuntu, 32bit or 64bit.
For operating systems CentOS, FedoraCore, RedHat and SuSe, 64bit vatiable ARCH_LIB_DIR is lib64.

RELEASE_VERSION is major version of Parallels Plesk Panel.
Additional information
The directory was defined as below.
  1. Version of Parallels Plesk Panel is stored in file /usr/local/psa/version.

    ~# cat /usr/local/psa/version
    9.0.0 CentOS 5 90081117.17
    ~#
    Release version is determined by first two numbers. RELEASE_VERSION = 9.0

  2. Use command uname to get architecture of the operating system:

    ~# uname -a
    Linux plesk90.centos5.plesk.ru 2.6.18-028stab059.6 #1 SMP Fri Nov 14 14:01:22 MSK 2008 i686 i686 i386 GNU/Linux
    ~#

  3. Architecture is 32bit and ARCH_LIB_DIR = lib.

    For example PLESK_LIBEXEC_DIR for Parallels Plesk Panel based on operation system CentOS 5.x, 32bit is /usr/lib/plesk-9.0.

Was this answer helpful?

Also Read