How to install Xdebug for specific PHP version. I have multiphp installed

Hi team.

I was wondering how to install Xdebug for specific php version. I have multiphp installed.

Checking the Xdebug site I could see it would be installed via package manager or PECL. What are your suggestions? Is there any guido around here?

The only post related to this I found is this… but it seems the link to that guide is broken.

Instructions to install and use Xdebug in HestiaCP - Community Support / Install & Set-Up - Hestia Control Panel - Discourse

Thank you in advance!

Hi @jorgerojas1184

Use the package manager. If you want to install it for PHP 8.3

apt install php8.3-xdebug
3 Likes

That worked! Thank you!

1 Like