Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: k0r54 on August 31, 2007, 03:54:10 PM

Title: installin Zend on sme 7
Post by: k0r54 on August 31, 2007, 03:54:10 PM
Hi,

Just wondering if anyone has zend installed on sme.

I have tried and i have used tar -zxvf to extract its tar file but when i use the install.sh i get this error: -

./install.sh: line 139: ./php: cannot execute binary file

Any ideas?

Thanks
k0r54
Title: Re: installin Zend on sme 7
Post by: crazybob on August 31, 2007, 05:58:28 PM
Are you using the script from chaloner? If you are, after you untar zend.tar, you must also untar ZendOptimizer-3.2.8-linux-glibc21-i386.tar

Then you run the install.sh script from chaloner. (not the one in the zend folder)

It works great.

See my posting below. it corrects this posting
Title: Re: installin Zend on sme 7
Post by: k0r54 on August 31, 2007, 06:03:54 PM
How exactly do you do that and what file are you using?
Title: Re: installin Zend on sme 7
Post by: byte on August 31, 2007, 07:01:40 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
Title: Re: installin Zend on sme 7
Post by: crazybob on August 31, 2007, 07:07:04 PM
I will wright a how to this weekend, and post it here

Bob
Title: Re: installin Zend on sme 7
Post by: k0r54 on August 31, 2007, 07:56:04 PM
ahhh thank you very much
Title: Re: installin Zend on sme 7
Post by: k0r54 on August 31, 2007, 08:10:18 PM
Hi,

I am following another tut i found here but i am getting a problem

this is the post http://forums.contribs.org/index.php?topic=34978.msg152086#msg152086

and im gettin the problem
Code: [Select]
sh install.sh
mkdir: cannot create directory `/etc/e-smith/templates-custom/etc/php.ini': File exists
Restarting httpd-admin                                     [  OK  ]
Restarting httpd-e-smith                                   [  OK  ]
Failed loading /usr/local/Zend/lib/ZendExtensionManager.so:  /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
PHP 4.3.9 (cgi) (built: May 10 2007 05:19:09)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

Thanks
Adam
Title: Re: installin Zend on sme 7
Post by: crazybob on August 31, 2007, 09:08:16 PM
Here is what I did

from a command prompt

mkdir zend

cd zend

wget ftp://esurplus.ca/zend.tar

tar -xvf zend.tar

tar -xvf ZendOptimizer-3.2.8-linux-glibc21-i386.tar

cd ZendOptimizer-3.2.8-linux-glibc21-i386

sh install.sh
(accept defaults on all questions)

cd ..

sh install.sh

That should do it

Bob



Title: Re: installin Zend on sme 7
Post by: k0r54 on September 01, 2007, 11:13:06 AM
Hi,

Thanks alot bob, it worked a treat!