• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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