How to install Xdebug for lsphp

This tutorial shows how to install Xdebug for lsphp for Litespeed/Openlitespeed servers for control panels like Cyberpanel.

Installation via pecl is easiest so first step is ensuring pecl is updated.

Update pecl

Shell

Install via pecl for Centos

Shell

Install via pecl Ubuntu

Shell
Plain Text

Check if its installed

Shell

Example:

Shell

Hopefully this is helpful for anyone else looking to setup their IDE and remote debugging.

Other helpful resources:

https://xdebug.org/docs/install#pecl
https://forum.openlitespeed.org/threads/php-xdebug.2397/

Leave a Comment

Item added to cart.
0 items - $0.00