> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.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).

# How to Install Zend Optimizer or Ioncube on DirectAdmin Based Servers

This is for DirectAdmin based Linux servers only. SSH into your Linux server and use the commands below:


**To Install Zend:**

cd /usr/local/DirectAdmin/custombuild
./build set zend yes
./build zend


**To Install IonCube:**

cd /usr/local/DirectAdmin/custombuild
./build set ioncube yes
./build ioncube


To verify whether Zend/Ioncube is installed:

**php -v**


If Zend/Ioncube does not show up with “php -v”, edit /usr/local/lib/php.ini and scroll to the end of the file. Add below lines into php.ini.

zend_extension=full_path_to_ioncube.so
zend_extension=full_path_to_ZendOptimizer.so

