Please use the “Print” function at the bottom of the page to create a PDF.
For Linux Hosting and Managed Server
Learn how to install Zend Guard Loader on your web space.
Zend Guard is a tool whch provides PHP encryption. This 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 (All managed servers include shell access)
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. The output is x86_64 or x86_32, the second value is 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 Centre. 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 where it's added. 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 insert both lines into an existing php.ini.