# How to Install Ioncube for DevKinsta

**URL:** <https://community.kinsta.com/t/how-to-install-ioncube-for-devkinsta/947>\
**Category:** Application Support\
**Created:** [August 22, 2021, 5:45pm UTC](https://community.kinsta.com/t/how-to-install-ioncube-for-devkinsta/947 "2021-08-22T17:45:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [August 24, 2021, 2:49pm UTC](https://community.kinsta.com/t/how-to-install-ioncube-for-devkinsta/947/4 "2021-08-24T14:49:06Z")

</div>

Sorry for the wait here @klikkit . I’ve worked on a guide below to help install **Ioncube**. Please note we have not fully tested the following guide. Make any necessary backups of your work before continuing. At this time it’s a manual process. If you’re interested, you can request for this to be added to DevKinsta in our [Feature Request](https://community.kinsta.com/c/feature-requests/6) section as well.

1. Open up Terminal
2. Enter `docker exec -it devkinsta_fpm bash` this should bring you inside the Docker container.
3. Enter `apt-get update && apt-get upgrade`. Type Y if it asks if you’d like to continue. This may take some time.
4. Enter `apt-get install wget`
5. Enter `wget -P /tmp/ http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz && tar xvfz /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp`
6. Enter `mkdir -p /usr/lib/php/ioncube/ && cp /tmp/ioncube/ioncube_loader_lin_*.so /usr/lib/php/ioncube/`
7. The next file to edit will depend on which PHP version you’re running. Enter `php -v` to check on that or you can open DevKinsta then click on your site to see which PHP version it’s running. In the following example, it’s going to apply for PHP 7.4. `echo 'zend_extension = /usr/lib/php/ioncube/ioncube_loader_lin_7.4.so' >> /etc/php/7.4/fpm/php.ini`. If you change PHP versions, be sure to implement this on the other version as well.
8. Confirm that it has been added by entering `cat /etc/php/7.4/fpm/php.ini`. You’ll see the ioncube line added in the bottom.
9. Enter `exit` then `docker restart devkinsta_fpm` to restart the container. [phpinfo](https://www.php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-examples) can help confirm that Ioncube has been installed.

That should be it! Let me know if you have any questions on this.

---

_[View the full topic](https://community.kinsta.com/t/how-to-install-ioncube-for-devkinsta/947)._
