Introduction
The Xdebug extension provides the following features:
- stack 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
- code coverage analysis
- capabilities to debug your scripts interactively with a debug client
Installation Procedure
- Login to WHM as the root user
- Navigate to: "Home »Software »Module Installers"
- Click on the "Manage" link for PECL
- Select "ea-php72" or above from the dropdown
- Click Apply next to the php version dropdown
- Type the following into the box to the left of the "Install Now" button: xdebug
- Click the blue "Install now" button
Verify Installation
You may use a PHP Info file to verify that the extension has been installed and is enabled:
Comments
0 comments
Article is closed for comments.