How to Install and Uninstall php7.2-xdebug Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "php7.2-xdebug" package

Please follow the step by step instructions below to install php7.2-xdebug on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php7.2-xdebug

2. Uninstall "php7.2-xdebug" package

Please follow the instructions below to uninstall php7.2-xdebug on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php7.2-xdebug $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-xdebug package on Ubuntu 21.10 (Impish Indri)

Package: php7.2-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 1740
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2
Replaces: php-xdebug (<< 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2~)
Provides: php-xdebug
Depends: ucf, php7.2-common, libc6 (>= 2.33)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2~)
Filename: pool/main/x/xdebug/php7.2-xdebug_3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 587084
MD5sum: 6a36371c806f4cfe16c75556dfb7a0ad
SHA1: 7e06e7f36f47b02d77e6971d90573ff58f9ff357
SHA256: 3d8f9f29c57c6cefc41ff8c7d2f09d62ddd14f6bc1bd481a08caf316d73cadb6
Description-en: Xdebug Module for PHP
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 traces and function traces in error messages with:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
* memory allocation
* protection for infinite recursions
.
Xdebug also provides:
.
* profiling information for PHP scripts
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
Description-md5: 960fff0d47cec49f1da1997641a8c7de