Should work on processors/OS’s supported by Zend, but by no means all. Without it you lose the ability to use “Commercial but free” modules from Schmooze so if you don’t have it working don’t try and install any “Commercial” modules.
Found some ‘google’ content about installing via yum, but no luck there. (I was hoping to keep my packages as yum-based as possible. (see my comment about the repository issue). I’m not one to replace google for a brain, especially when there is a wonderful place like this where there is a higher probability of finding more direct and accurate information.
If anyone else has been able to install this package via yum, and can direct me to the proper current repository, it would be appreciated. I (with and without google) am unable to locate.
Hello,
I just did this today. I’m sure you’ve figured it out by now, but since this thread came up when I searched for it I thought I would put a more useful answer than “google it”.
First, determine your arch and php version with uname -p and php -v. For me it’s i386 and php 5.3. The instructions will be specifically for 32bit php v5.3 on CentOS 6, but the instructions are the exact same for 64bit and/or 5.4. If you’re running php 5.2 I’d say upgrade. Anywho;
Google zend guard loader download, choose the linux tab, 32bit for 5.3. My server is running headless and this link is https and requires registration, so I had to use a different box and pop it over to the server with scp.
Untar/gz the package, then copy the .so file that’s inside the directory it creates to /usr/lib/php/modules for i386 or /usr/lib64/php/modules for 64bit.
Create an ini in /etc/php.d called zenguard.ini with this inside (note: change /usr/lib to /usr/lib64 if needed):
; Enable ZendGuard loader module
zend_extension=/usr/lib/php/modules/ZendGuardLoader.so
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed
in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=0
; Path to where licensed Zend products should look for the product license. For
more information on how to create a license file, see the Zend Guard User Guide
; zend_loader.license_path=
Restart httpd, run php -v again, should say:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
incrond
Same with incron, you have to install either 32 or 64 bit. For my 32bit linux:
Of course if you google search this question and stumble accross this page trying to get Zend working on a Raspberry Pi because your business/home is small enough that you thought you would do the environmental thing. You will be dissappointed to learn that the simple instruction to installing Zend Guard Loader on a pi is that ya dont.
It doesn’t work on architectures other than x86, so no commercial schmooze software for us PBX hippies. And no changing the time zone simply either