> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.clientexec.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Installing ionCube Loader

Clientexec is encrypted using ionCube Loader in order to protect the source code. Most web hosting providers compile ionCube support into the PHP build by default. 

If you do not have root access and your server does not have ionCube Loader already loaded, try contacting your web hosting provider for assistance. To check if you have ionCube Loader, create a phpinfo page using the following code:

```html
<?php phpinfo(); ?>
```

(create a file called phpinfo.php, paste the above code into the file, upload to your server and load the php page)


In the event that you need to install ionCube on your server you can follow these instructions:

### cPanel & WHM instructions

To install via WHM:

1. Log in to your WHM Panel.
2. Go to the software and click on the Easy Apache.
3. At the currently installed package, click on the customize button.
4. Select your PHP version for which you need to install Ioncube. 
5. Select Ioncube version  that is compatible with your PHP version and click Next.
6. Review the package that needs to be install. Here, we have selected Ioncube, and it is going to be install.
7. Click on the provision button.

### Other Servers

To install ionCube Loader on other servers: 

1. Download the latest ionCube Loader [here](http://www.ioncube.com/loaders.php).
2. Extract the contents of the archived file onto your computer.
3. Upload the IONCUBE folder via FTP to your domain.
4. Establish an SSH connection with the server using a client such as [PuTTY](https://www.putty.org/). Usually, this requires you to run the following command and supply your password: 

```html
SSH rootusername@example.com
```

5. Browse to the folder that contains the IONCUBE directory.
6. Move the folder to a permanent location: 

```html
mv ioncube /usr/local
```

7.  Locate your php.ini file (usually it is located at /usr/local/lib/php.ini.): 

```html
locate php.ini
```

8. Edit the file using your preferred editor.
9. Find the other Zend extensions (zend_extension).
10. Add a new line for ionCube Loader (replacing the x with your version of PHP): 

```html
zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.so
```

11. Save the changes.
12. Restart the server. 