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