Running a non-distro install of asterisk 11.2.1 and Freepbx beta 2.11.0 on CentOS6.2
PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)
Copyright © 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
When attempting to add components via freepbx, getting:
“PHP Component Zend Guard Loader is required but missing from you PHP installation.”
File /usr/sbin/incrond must exist.
Looking for a good place to start to get this resolved. Cannot easily find a repository for these items.
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.
You can can install with yum from the schmooze repositories, if your kernel matches one that they use.
If you did not install the the Schmooze distro “for any reason”, you would not have to think and work a little more.
Sorry we are all out of spoons.
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
; Enables loading encoded scripts. The default value is On
; Disable license checks (for performance reasons)
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed
in the official Zend Guard Documentation. 0 - no obfuscation is enabled
; 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
- 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
Same with incron, you have to install either 32 or 64 bit. For my 32bit linux:
- wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpm-macros-rpmforge-0-6.el6.rf.noarch.rpm
- rpm -Uvh rpmforge-release*rpm
- yum install incron
That’s it. After that I could add the packages in the web gui without issue. I didn’t have any problems with the above so YMMV.
Guys please follow our guide here. You need to use the packages we provide for commercial modules to properly work. http://wiki.freepbx.org/display/FCM/Asterisk+Now+and+Other+FreePBX+System
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
Sorry we only support EL5 and EL6 stuff for commercial modules.