• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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