sbrad

Well-Known Member
Aug 14, 2001
113
0
316
I've just moved an account from one server to another, both having php 4.2.1. The customer has some Zend encoded pages, and they are spitting out garbage.
Any idea how to fix this? I've already re-installed buildapache.sea.
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
R U sure your php.ini has been instilled and zend is interacting with it?
do a locate and see if you can even find a &php.ini& on that box.
/scripts/installzend*** (something like this), will create that file and ready apache to work with PHP/zend if it is truly not configured yet.
 

sbrad

Well-Known Member
Aug 14, 2001
113
0
316
Yeah, it's installed. Here's what I have in php.ini:

zend_optimizer.optimization_level=15
zend_extension=&/usr/local/Zend/lib/ZendOptimizer.so&
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
anything showing up as far as &failed execution& in the main apache error log when they try to run anything.

also can you feed the zend-encoded pages to the &php& binary from the command line without errors?
might turn up something.....

perhaps your apache config has some extra shite in it that is conflicting with the Zend system? Compare httpd.conf(s) perhaps?
 

sbrad

Well-Known Member
Aug 14, 2001
113
0
316
Nothing showing up in the Apache error_log.

When I feed them in via ssh, I get:

Zend Optimizer requires Zend Engine API version 20010710.
The Zend Engine API version 20020429 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.

X-Powered-By: PHP/4.2.1
Content-type: text/html

Zend
20001120011146233xù
Ÿ2
þÞ¥y‰9
[email protected]\ž˜“ˆHëÀJ?¥47·R/1%ZwM2†$
X¿e(8ûû…¸ú…Ø*X+?h[ZœZT¬Ÿ™—’Z¡W?Q d5-l|][email protected]ù@×50Ô3Ì6(5
Rw 
Ä\\Hòf
& 0Õ¨©
 

acetate

Active Member
Aug 16, 2001
25
0
301
Does it show Zend Optimizer in your phpinfo?

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 9 disabled
Optimization Pass 10 disabled
Zend Loader enabled

/scripts/installzendopt* does not work for me either.. I downloaded the one from zend.com and it works perfectly. =)