How to Install and Uninstall php7.2-xdebug Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 08,2024

1. Install "php7.2-xdebug" package

Here is a brief guide to show you how to install php7.2-xdebug on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-xdebug package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 1736
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1
Replaces: php-xdebug (<< 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1~)
Provides: php-xdebug
Depends: ucf, php7.2-common, libc6 (>= 2.17)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1~)
Filename: pool/main/x/xdebug/php7.2-xdebug_3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 423304
MD5sum: 701dc7d5f2e01fa901dbfa0766958cdb
SHA1: 71e6441d27c4e60b240d50c8f6f2f1fbb48d146a
SHA256: 00701b2f3cf118c4e3d57fa539d46ef9111b3d36f3f529f347e0d6f5f39ea0bb
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