Please Note:
The text on this page was translated by translation software. A revised version from our editors will be available soon.
Please use the “Print” function at the bottom of the page to create a PDF.
For Linux Hosting and Managed Server
This guide will show you how to install Zend Guard Loader in your webspace.
Zend Guard is a tool for PHP encryption. The software protects your PHP source code and your website from observation, modification and theft. The Zend Guard Loader allows you to run Zend Guard encrypted programs on your website.
Requirements
Your package has shell access (this is always the case with managed servers)
Step 1
Open the Zend.com website. To download the Zend Guard Loader, you must register or log in to the site.
Select Linux as the operating system and then download the 32-bit or 64-bit version as a.zip file.
To find out whether you need the 32-bit or 64-bit version:
- Connect to your webspace via SSH
- In the command line window, type uname -m. You then receive the output: x86_64 or x86_32. The second value is the specification of the bit system.
Step 2
Unpack the.zip file on your local computer.
Step 3
Go to the Zend Guard Loader root directory. There you will find a subdirectory named after your PHP version, e.g. 7.0.
Step 4
Select the ZendGuardLoader.so file in the appropriate PHP version folder. Load this file into a subdirectory of your choice on your web space with the help of an FTP client.
Step 5
Then create a file called php.ini with the following content:
zend_extension=/homepages/12/d1234567/htdocs/zend/ZendGuardLoader.so
zend_loader.enable=1
Please adjust the path /homepages/12/d1234567/htdocs/zend/ZendGuardLoader.so accordingly.
The exact path to your root directory can be found in your Domain Center. Alternatively, you can use the shell access to read the path of your main directory. To do this, enter the command pwd. If necessary, add the corresponding subdirectory to the path.
Please note: The php.ini is only valid in the directory in which it was stored. If you need Zend Guard Loader in multiple subdirectories, simply copy php.ini to the appropriate directory. Make sure that you do not overwrite any existing php.ini. You can insert both lines into an existing php.ini.