• 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.

Resolved Installing and configuring Xdebug for Plesk Onyx

Sky

New Pleskian
Hi everybody

I've installed xdebug extension to my Plesk (v17) and it went well (I can see that xdebug is correctly load through phpinfo() function and in PHP Setting, Xdebug's checkbox is checked).

But to make it works and appears in the dashboard, I had to add the extension in my php.ini with :
"extension=xdebug.so"

I know that it should be "zend_extension=path/to/xdebug.so" but when i'm doing that, I cant save the php.ini file and I got this message :

upload_2017-1-17_12-6-18.png

So I used the "extension=xdebug.so" way and if I check the log I got this message :

upload_2017-1-17_12-8-49.png

Anyone knows how to install and configure it properly ?

Thanks !
 
I would suggest to use following method for xdebug installation for PHP5.6, for example:

# yum install plesk-php56-devel gcc make
# /opt/plesk/php/5.6/bin/pecl install xdebug
# echo "zend_extension=xdebug.so" > /opt/plesk/php/5.6/etc/php.d/05-xdebug.ini

After that I see:

# /opt/plesk/php/5.6/bin/php -v
PHP 5.6.29 (cli) (built: Dec 9 2016 12:07:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
 
I would suggest to use following method for xdebug installation for PHP5.6, for example:

# yum install plesk-php56-devel gcc make
# /opt/plesk/php/5.6/bin/pecl install xdebug
# echo "zend_extension=xdebug.so" > /opt/plesk/php/5.6/etc/php.d/05-xdebug.ini

After that I see:

# /opt/plesk/php/5.6/bin/php -v
PHP 5.6.29 (cli) (built: Dec 9 2016 12:07:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Sorry for the late answer !
It works like a charm ! thanks !
 
Back
Top