Removal Of default php-impa (lsphp8.3-imap) also removed openlitespeed

Caution: Removing lsphp-imap Extension May Uninstall OpenLiteSpeed

Details:

  • CyberPanel Version: 2.3.9
  • Operating System: Ubuntu 22.04
  • Default PHP Version: 8.3

If you attempt to remove the lsphp-imap extension of CyberPanel’s default PHP version (e.g., lsphp8.3-imap) through the CyberPanel web interface, it may result in the unintended removal of OpenLiteSpeed.

This happens due to package dependency issues. When removed via the web interface, the command apt remove lsphp8.3-imap -y is executed, which also lists OpenLiteSpeed as a removal candidate, leading to its uninstallation.

What to Watch Out For:

  1. When using the command line, if you attempt to uninstall lsphp8.3-imap, OpenLiteSpeed will also appear as a removal candidate due to dependencies.
  • Example: apt remove lsphp8.3-imap
  1. The web interface executes this command with an automatic confirmation (-y), which bypasses warnings and removes both the extension and OpenLiteSpee