zend optimizer problem, auto changing in php.ini!!!??

x-man

Well-Known Member
Jan 25, 2004
118
1
166
I have very big problem, every few days on one of my server something editing php.ini file and changing only info about zend optimizer to bad info...

from
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.6
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.6
zend_optimizer.version=3.2.6

to

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.0.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.0.0
zend_optimizer.version=3.0.0

and after this zend optimizer don`t working and on my pages I see only code...


What can be problem? Maybe some problem with cpanel or...?

Thanks.
 

mctDarren

Well-Known Member
Jan 6, 2004
665
8
168
New Jersey
cPanel Access Level
Root Administrator
Could it be the auto-fix on cpanel update? Every few days might not be, since you prob run cpanel upcp every night. But check the /scripts/installzendopt script and see what it has "your version" set to. Change it to the .2.6 ver and see if that helps..
 

x-man

Well-Known Member
Jan 25, 2004
118
1
166
Hm, if auto-fix how I can FIX it?

Yes, I try /scripts/installzendopt and I set .2.6 version but still same problem....maybe cPanel have some bad value in some config file but I don`t know what to search...

Thanks.
 

thomasconor

Member
Aug 2, 2006
17
0
151
Php 5.2.1 with Zend Optmizer3.2.2 (Failed)

Me also having the same issue .

Zend Optimizer was installed using /scripts/installzendtop
The installation was smooth without any errors but the Zend Optimizer never showed up in the
phpinfo(); accessed via web. I have also tried reverting the php versions and changing optimizer versions to 3.2.6 But no output from the webpage(phpinfo).

from the command line its showing.
PHP 5.2.1 (cli) (built: May 10 2007 02:00:48)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies

Please guide me some help

Thank you
 

lingine

Registered
Oct 23, 2006
2
0
151
Our billing system requires Zend and we really appreciate a solution to this error as well :) Any thoughts are greatly appreciated!!!
 

AlexV.

Well-Known Member
Jun 15, 2006
212
1
168
Could you paste the "engine" line from your php.ini, should be something like:
engine = "On"

If it does have that syntax, remove the quotations:
engine = On

Let me know if that works for you.

Otherwise feel free to open a ticket and we will look into it.
 

thomasconor

Member
Aug 2, 2006
17
0
151
is it php5 vs Zend compatibility?

Thanks alex for the quick reply.

In the phpinfo.php the Zend engine is only showing this much ....
Code:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
where as it should be

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
As you mentioned I have checked both the Local and Master values for
engine set to 1 (which means on i guess) .
We are really desperate to fix this issue as our billing system is online and totally relies on Zend Optimizer.

Thank you very much for giving us more help.

Tom
 

cooldude7273

Well-Known Member
Jan 11, 2004
357
0
166
Roswell, GA
Have you tried installing it manually using the download from Zend.com? I've always done it that way without a hitch.
 

thomasconor

Member
Aug 2, 2006
17
0
151
recompile using easyapache

As lingine mentioned

recompiling using /scripts/easyapache with the versioning disabled, the zend Optimizer came back on phpinfo();

Life is back to normal.

Thanks once again everybody.

Tom