Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm testing Zend Guard 5 to encode PHP source code, and have encoded a working website.

When I view the site on my server, I get an error page saying "Zend Optimizer not installed" and that it requires Optimizer 3.0 or newer.

I'm sure I have Zend Optimizer installed. We're running Zend Platform on that server, which includes Zend Optimizer v3.3.7. According to phpinfo() and according to the Zend Platform status screen it's installed and working. Somehow Zend Guard doesn't agree.

Any idea why Guard encoded files don't seem to use the available Optimizer?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Hmm, after experimenting more it appears this error only happens on quite complex legacy websites. I suppose Guard is less flexible about bad coding than PHP itself is.

Simpler, more cleanly coded PHP encodes nicely and runs fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.