• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Is it possible to use placeholders like {WEBSPACEROOT} in php.ini php

dmathis

New Pleskian
I have xdebug installed and I want it to give a path where the customer has access too.
As it seems I only have one global folder to configure that, and it is in /opt/plesk/php/7.1/etc/
I tried adding /opt/plesk/php/7.1/etc/php.d/50-xdebug.ini
xdebug.profiler_output_dir ="{WEBSPACEROOT}"

But phpinfo() shows the string has not been replaced.

How can I have each customer having its own custom path there, without having to add it manually somewhere, using some template?


More infos:
Link to xdebug docu: Xdebug: Documentation
PHP is configure to run as "FPM Application served by Apache"

Using Plesk Onyx on Ubuntu 18.04.
 
Back
Top