# Upgrading ionCube Loader

Source: <https://beta.dedicated.com.tr/en/kb/upgrading-ioncube-loader>  
Last updated: 2026-11-28

Connect to your server over SSH and check the current version:

```bash
php -v
```

The output shows the ionCube version:

```text
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
```

Find out the operating system architecture:

```bash
uname -i
```

If the output is `i386` your system is 32-bit; if it is `x86_64`, it is 64-bit.

### Installation

```bash
cd /usr/local/src
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar -zxvf ioncube_loaders_lin_x86.tar.gz
mv /usr/local/IonCube /usr/local/IonCube-old
cp -r /usr/local/src/ioncube /usr/local/IonCube
service httpd restart
```

After installing, check the version again:

```bash
php -v
```

```text
with the ionCube PHP Loader v4.0.8
```
