Bashy

Well-Known Member
Feb 20, 2011
68
6
58
Hi folks

I am getting an error saying Zend isnt installed but do I have Zend installed

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

I am assuming its a php.ini configuration issue? im on centos if that makes any difference?
Any advice please?

Regards

Bashy
 

LinuxTechie

Well-Known Member
Jan 22, 2011
502
10
68
cPanel Access Level
Root Administrator
Hello Bashy,

Can you run this cpanel script from SSH /scripts/installzendopt. This will install zend optimizer in the server. Between which PHP version are you using? If you are in 5.3+ , you need to install Zend Guard Loader for proper working of scripts.
 

Bashy

Well-Known Member
Feb 20, 2011
68
6
58
Hi

Thanks for the reply, Zend already is installed but i ran that command i got the info below...

Installing Zendopt
Determining PHP version
Installing Zend Optimizer binary
Activating Zend Optimizer in /usr/local/lib/php.ini
Zend Optimizer activated
Skipping install to /usr/local/php4, missing php.ini
[email protected] [~]#


I also have this line only in my usr/local/lib/php.ini

; Local Variables:
; tab-width: 4
; End:

zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"

Still get the error though :(
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Bashy, could you please indicate what was the issue and how it was resolved? Thanks!
 

Bashy

Well-Known Member
Feb 20, 2011
68
6
58
Hi Tristan, hope this helps

Reply from Ken in support

I reset your php.ini back to default with `/scripts/phpini` with a backup of your original php.ini at /usr/local/lib/php.ini.bak. I then installed Zend Optimizer with `/scripts/phpextensionmgr install Zendopt`.
I am not 100% sure what the actual issue was, perhaps a misconfiguration, but Ken sorted it with the above...
Although... I do think there is an issue with Zend still even though it is working now i have created a new post about it
as its a different error...
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
I am getting an error saying Zend isnt installed but do I have Zend installed

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
I would like to clarify something is a frequent point of confusion. In the output of php -v, you will see Zend Engine mentioned. This is not Zend Optimizer. Even though the names are similar, Zend Engine and Zend Optimizer are different but related items.

Zend Engine is actually the engine around which PHP is built. The Zend Engine version is always reported in PHP's version information, whether or not Zend Optimizer is installed. For example, look at the output from a test server that does not have Zend Optimizer installed:

Code:
# php -v
PHP 5.2.13 (cli) (built: Apr 15 2010 11:07:30) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
Zend Optimizer is a PHP extension that decodes PHP scripts that have been "optmized", or made into a type of pseudo-machine-code for faster execution when executed. If Zend Optimizer is installed, it will explicitly state that it is:

Code:
# php -v
PHP 5.2.13 (cli) (built: Apr 15 2010 11:07:30) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
Note that, with Zend Optimizer installed, there are now two mentions of Zend. Unless you specifically see Zend Optimizer in the output of php -v, Zend Optimizer is not installed.

I hope this is helpful. Frequently - and I can completely understand why this happens - users see Zend and assume that Zend Optimizer is installed, when it is not, and I wanted to take the opportunity and try to clarify this not just for you but for other users as well.
 

Bashy

Well-Known Member
Feb 20, 2011
68
6
58
Hi Jared, thanks for the reply and clarification...

It looks like i have both (now) but looking at my original post it wasnt :)

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

Thanks again for the clarification....