• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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