Topic: PHP 5.6.24 with different default Xdebug

Hi there, I have a server with PHP 5.6.24 from REMI and also Xdebug 2.4.1 (is the default when you run yum install php-pecl-xdebug) is there any way to install another version? I need to test something with a minor version like for example 2.4.0 (this one is the default on PHP7 repos). This is the information I got from the command yum info php-pecl-xdebug:

yum info php-pecl-xdebug
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.us.leaseweb.net
* elrepo: mirrors.evowise.com
* epel: mirror.umd.edu
* extras: centos.mia.host-engine.com
* remi: mirror.uta.edu.ec
* remi-php56: mirror.uta.edu.ec
* remi-safe: mirror.uta.edu.ec
* updates: repos.mia.quadranet.com
Installed Packages
Name        : php-pecl-xdebug
Arch        : x86_64
Version     : 2.4.1
Release     : 1.el7.remi.5.6
Size        : 614 k
Repo        : installed
From repo   : remi-php56
Summary     : PECL package for debugging PHP scripts
URL         : http://xdebug.org/
License     : BSD
Description : The Xdebug extension helps you debugging your script by providing a lot of
            : valuable debug information. The debug information that Xdebug can provide
            : includes the following:
            :
            : * stack and function traces in error messages with:
            :   o full parameter display for user defined functions
            :   o function name, file name and line indications
            :   o support for member functions
            : * memory allocation
            : * protection for infinite recursions
            :
            : Xdebug also provides:
            :
            : * profiling information for PHP scripts
            : * code coverage analysis
            : * capabilities to debug your scripts interactively with a debug client
            :
            : Package built for PHP 5.6.

Any advice?

Re: PHP 5.6.24 with different default Xdebug

I always keep 2 versions online, in the repository, see php-pecl-xdebug (so 2.4.0 and 2.4.1)

Older versions are kept in the archives: php-pecl-xdebug (not a repository)

Oldest are only available in my offline archives.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi