Installing ionCube with LiteSpeed

Introduction

If you want to use the ionCube extension on your website and/or online store, our installation guide will show you how to install and configure the service on your server.


Prerequisites

  • Plesk Control Panel
  • LiteSpeed


The ionCube Loader extension is currently not available for PHP 8.3! As of April 26, 2024


When installing the ionCube extension on a Plesk server with LiteSpeed installed, be sure to avoid using the apt command to install the extension, as this jeopardizes the proper functioning and integrity of your server!



Installation

First, log in to the Plesk Control Panel and navigate to the menu item Tools & Settings → General Settings → PHP Settings.



In the overview that appears, select the PHP handler for which you want to install the ionCube extension. In this guide, we’ll install ionCube for PHP-8.2.30-FastCGI.


The Domains column shows you how many domains are using the corresponding PHP handler. If you click on the number, you’ll see a list of your domains that use this handler.

\n


The following view provides an overview of all installed PHP extensions for the corresponding handler, and you can enable or disable them as needed using the respective slider. If you want to add more extensions, click the Manage PECL Packages button.



Enter "ionCube," for example, in the search field on the right to display the corresponding installation package. Then install ionCube by selecting the plus icon.



Once the installation is complete, the package will appear in the overview of installed PHP extensions for the respective PHP handler.



Activating the Extension in LiteSpeed


Since LiteSpeed uses a separate PHP process, it must be restarted after installation via the Plesk PECL Manager in order to use ionCube.

To perform this step, navigate to Extensions → My Extensions to view your list of installed Plesk extensions. Select the Open button next to the LiteSpeed extension to open the LiteSpeed management interface


There, you can restart the detached LiteSpeed PHP process.

To do so, click the “Restart Detached PHP Processes” button.



You will then receive a confirmation that the relevant processes will be restarted before the next use, making the ionCube extension available to the server.