• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue 503 error when overriding php.ini xdebug.mode in a specific domain

mavalentin

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
18.0.57 Update #5
Hi, I have been trying to setup XDebug on my plesk server for development purposes.
I enabled the xdebug module in the specific PHP version in the plesk settings, and in the specific domain subscription in plesk I have set in "additional PHP settings" "xdebug.mode=develop,debug".

Everything works and I am able to use debugging in my IDE.

I wanted though to set in the global php.ini "xdebug.mode=off", because I don't want to enable debugging for all domains in Plesk, as without specifying anything, after enabling the xdebug module, every domain on plesk has "xdebug.mode=develop" in its phpinfo().

What happens though when I set "xdebug.mode=off" in the global php.ini trough the Plesk panel is that the website on which I previously override the setting gives me Error 503 (AH01067: Failed to read FastCGI header).
If I also set the global value equal to "xdebug.mode=develop,debug", so that it is the same as the override value, then the error does not happen anymore.

What am I doing wrong in setting the global value and overriding it on a specific domain?

Thank you
 
Back
Top