• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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