• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Xdebug on plesk not listen port 9000

Mike1050

New Pleskian
Hello,

I was tried to install xdebug to my plesk.

So i have enabled in tools&setting / php settings / chossed extensions php7.1.24 and marked xdebug.
After in php.ini i have added:

Code:
[xdebug]
xdebug.remote_enable=1
xdebug.remote_connect_back=0
xdebug.remote_autostart = 1
xdebug.remote_host=localhost
xdebug.remote_port=9000

Restart apache / php / nginx service

In phpinfo i see xdebug module is loaded i have all informations about it.


So after i try to see if the localhost port 9000 listen
sudo lsof -i -P -n | grep LISTEN
no port 9000
telnet localhost 9000 no open port....

after i tried to ssh install

Code:
yum install plesk-php71-devel
/opt/plesk/php/7.1/bin/pecl install xdebug
echo "zend_extension=xdebug.so" > /opt/plesk/php/7.1/etc/php.d/05-xdebug.ini
/usr/local/psa/bin/php_settings -u

restart httd/php/nginx services too , always 9000 port are not listen.

Can you help me?



Version 17.0.17 Update #60
Plesk Onyx CentOS Linux 7.4.1708
Licence manager by OVH
 
xdebug does not listen on port 9000, it makes connections to clients listening on port 9000.
 
Back
Top