Product:
Search Type:

Commands are listed in knowledge base contain variables like $PRODUCT_ROOT_D, $HTTPD_VHOSTS_D, etc... How do I find their values?

Article ID: 952 
Last Review: Jul,31 2008
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION

Paths to compnents used by Plesk Control Panel can be found in file /etc/psa/psa.conf. For example, for Fedora Core 4:

# Plesk tree
PRODUCT_ROOT_D /usr/local/psa

# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d

# Directory for config files
PRODUCT_ETC_D /usr/local/psa/etc

# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

# Apache configuration files directory
HTTPD_CONF_D /etc/httpd/conf

# Apache include files directory
HTTPD_INCLUDE_D /etc/httpd/conf.d

# Apache binary files directory
HTTPD_BIN_D /usr/bin

#Apache log files directory
HTTPD_LOG_D /var/log/httpd

#apache startup script
HTTPD_SERVICE httpd

# Qmail directory
QMAIL_ROOT_D /var/qmail

# Location of qmail maildirs
QMAIL_MAILNAMES_D /var/qmail/mailnames

# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd

# Courier-IMAP
COURIER_IMAP_ROOT_D     /

# Proftpd
FTPD_CONF /etc/proftpd.conf
FTPD_CONF_INC /etc/proftpd.include
FTPD_BIN_D /usr/bin
FTPD_VAR_D /var/run/proftpd
FTPD_SCOREBOARD /var/run/proftpd/scoreboard

# Bind
NAMED_RUN_ROOT_D /var/named/run-root

# Webalizer
WEB_STAT /usr/bin/webalizer

# Logrotate
LOGROTATE /usr/local/psa/logrotate/sbin/logrotate

# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin

# PostgreSQL
PGSQL_DATA_D /var/lib/pgsql/data
PGSQL_BIN_D /usr/bin

# Backups directory
DUMP_D /var/lib/psa/dumps

# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman

# Python binary
PYTHON_BIN /usr/bin/python2.4

# Tomcat root directory
CATALINA_HOME   /usr/share/tomcat5

# DrWeb
DRWEB_ROOT_D /opt/drweb
DRWEB_ETC_D  /etc/drweb

# GnuPG binary
GPG_BIN /usr/bin/gpg

# Tar binary
TAR_BIN /bin/tar

# Curl certificates
CURL_CA_BUNDLE_FILE /usr/share/curl/curl-ca-bundle.crt

# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats

# openssl binary
OPENSSL_BIN /usr/bin/openssl

LIB_SSL_PATH /lib/libssl.so.5
LIB_CRYPTO_PATH /lib/libcrypto.so.5

CLIENT_PHP_BIN /usr/local/psa/bin/php-cli


The variables may be different for your server.

Additional information

Note that in current version of Plesk Control Panel the file cannot be used as configuration file, but information file that can be used to get know location of the variables.
Changes performed in it would not affect Plesk behavior, the links are hardcoded.
Keywords: PRODUCT_ROOT_D PRODUCT_RC_D HTTPD_VHOSTS_D HTTPD_CONF_D HTTPD_INCLUDE_D HTTPD_BIN_D QMAIL_ROOT_D QMAIL_MAILNAMES_D RBLSMTPD COURIER_IMAP_ROOT_D FTPD_CONF FTPD_CONF_INC FTPD_BIN_D FTPD_VAR_D OPENSSL NAMED_RUN_ROOT_D WEB_STAT LOGROTATE MYSQL_VAR_D MYSQL_BIN_D PGSQL_DATA_D PGSQL_BIN_D DUMP_D MAILMAN_ROOT_D MAILMAN_VAR_D PYTHON_BIN CATALINA_HOME DRWEB_ROOT_D DRWEB_ETC_D GPG_BIN TAR_BIN CURL_CA_BUNDLE_FILE plesk configuration file psa.conf

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields