Skip to content

Conversation

simonhammes
Copy link
Contributor

No description provided.

@@ -26,8 +26,7 @@ <h2>Installing on Linux <a name='linux' href="#linux">#</a></h2>
<code>sudo yum install php81-php-xdebug3</code>
</li>
<li><strong>Debian</strong> (9/stretch, testing/buster/bullseye/sid):<br/><code>sudo apt-get install <a href='https://packages.debian.org/search?keywords=php-xdebug'>php-xdebug</a></code></li>
<li><strong>Fedora</strong> (32):<br/><code>sudo yum install php-xdebug</code></li>
<li><strong>Fedora</strong> (Remi Repo):<br/><code>sudo yum install php74-php-xdebug3</code></li>
<li><strong>Fedora</strong>:<br/><code>sudo dnf install <a href='https://packages.fedoraproject.org/pkgs/php-pecl-xdebug3/php-pecl-xdebug3/'>php-pecl-xdebug3</a></code></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is right. There is surely still a difference between Fedora itself, and Remi's Repo?

/cc @remicollet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not adding a comment regarding this.

php-pecl-xdebug3 is (at the moment; I'm not sure since which version) part of the offical Fedora repositories (packaged by Remi) so I was unsure whether I should keep the mention of the custom repository or not.

Copy link

@remicollet remicollet Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xdebug is part of Fedora for years (at least 2006, and FC6)

The best command for any "foo" extension is "dnf install php-foo", so "dnf install php-xdebug", users don't have to worry about the package name. It was php-pecl-xdebug in the past (v2), it is php-pecl-xdebug3, for now, and maybe php-pecl-xdebug4 is the future (or something else, as "pecl" may disappear)

The command is the same with my repo for standard installation of default / single versions.
The "php74-php-xdebug" case is for multiple versions installation, not the common case, so it can probably be removed (and is explained by the Wizard to the repo user)

And the same changes can be applied to the RHEL and clones case.

derickr added a commit that referenced this pull request Sep 2, 2025
@derickr
Copy link
Contributor

derickr commented Sep 2, 2025

I have merged this after a rebase, and changing dnf install php-pecl-xdebug3 to dnf install php-xdebug as suggested by @remicollet.

@derickr derickr closed this Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants