• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Event Hanlder -> Update Subdomains -> Document directory

S

StefanieW

Guest
Event Handler -> Update Subdomains -> Document directory

Hello Igor,

could you please help me, i tried to modify open_basedir in php.ini for subdomains with plesk event handler to get like:

open_basedir = "/var/www/vhosts/tld/site1|2|3......andso_on_:/tmp........."

Shellscript for eventhandler :

/root/adjust_subdomains.sh <old_domain_name> <new_domain_name> <old_php_support> <new_php_support> <old_system_user_type> <new_system_user_type> update_subdomains ${OLD_HOME_DIRECTORY}

Could you please tell me the variable for new document root ? so nothing is working ->OLD_HOME_DIRECTORY, NEW_HOME_DIRECTORY, www_root

I need for example "site1"or "site2" or "site3" -> the document directory für subdomains selected bei costumer

Available Variables from documentation:

http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=67897.htm
 
Last edited by a moderator:
Back
Top