seaprince

Member
May 24, 2004
5
0
151
An odd Zend Optimizer issue, I have.

No any error during installation nor after, never.
-------------------------
# php -v
PHP 4.3.11 (cli) (built: Aug 2 2005 17:43:08)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend Technologies
with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies
-------------------------
It seems fine, bot it would works only when useing from command line.

-------------------------
# php -r "phpinfo(INFO_GENERAL);"
.......
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend Technologies
with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies
-------------------------

Zend encoded scripts could be running fine if from command line,
NEVERTHELESS ,
you'll
get "Zend Optimizer not installed" if from web page...

Anyone like this? Any idea?


OS : CentOS4.1
PHP versions : 4.3.10 4.3.11 4.4.0 tried
ZO versions :
ZendOptimizer-2.5.10a-linux-glibc23-x86_64.tar.gz
ZendOptimizer-2.5.10-linux-glibc21-i386.tar.gz
ZendOptimizer-2.5.7-linux-glibc21-i386.tar.gz

I've tried all of these and so many hours spent, not solved. It was working fine when

CentOS3.5, I think maybe it's better reinstall and put 3.5 back to work.. Gee I have no any idea. Anyone knows the solution?
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
did you manange to find the answer to this???

i have a RHE 3 server runnign php 4.4.0 under phpsuexec on thelatest C release of cpanel and ive recompiled apache and despite all my efforts (including manually downloading and installing zend 2.5.10a it still shows that zend is not installed...

anyone have any ideas?
 

seaprince

Member
May 24, 2004
5
0
151
My this issue solved ...

Snowman30 said:
did you manange to find the answer to this???

i have a RHE 3 server runnign php 4.4.0 under phpsuexec on thelatest C release of cpanel and ive recompiled apache and despite all my efforts (including manually downloading and installing zend 2.5.10a it still shows that zend is not installed...

anyone have any ideas?
My this issue solved, great thanks to the technical support engineer from Zend, Alexandra.

"Check your phpinfo(INFO_GENERAL);
Mark sure that your php not compiled with 'enable-versioning'

Zend Optimizer cannot run with this configuration option.
Try recompile your php without this option."

I did found there was an 'enable-versioning' in it, and then I recompiled php without this option. Bang! the Zend Optimizer works perfectly since.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
seaprince said:
My this issue solved, great thanks to the technical support engineer from Zend, Alexandra.

"Check your phpinfo(INFO_GENERAL);
Mark sure that your php not compiled with 'enable-versioning'

Zend Optimizer cannot run with this configuration option.
Try recompile your php without this option."

I did found there was an 'enable-versioning' in it, and then I recompiled php without this option. Bang! the Zend Optimizer works perfectly since.

hi,

where is this done?
in my phpinfo script?

or when doing apache update in WHM?

Thanks.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
i recompile php 4.4.0 without versioning

install zend optimizer again.

put in the phpinfo(INFO_GENERAL) in my phpinfo.php script.

still, it doesn't show the optimizer..

I am on RedHat Enterprise 3 i686. you?
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
when i installing zend,

the system say:

Installation has detected PHP version 4.4.0. │
│ This version is not compatible with the Zend Optimizer 2.5.10.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Hi jon,

yup.
i just found out that zend had release a new one fix on this issue.