Page 1 of 1

Installing Zend Optimizer in Xampp

PostPosted: 12. September 2007 08:07
by AjnabiZ
Hello

I tried to install Viart Shopping cart.

I got this page
This file was encoded by the Zend Guard. In order to run it, please install the Zend Optimizer (available without charge), version 3.0.0 or later.
Seeing this message instead of the website you expected?
This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:

The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.

Note: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to Zend Technologies.
What is the Zend Optimizer?

The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster.

In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard.

The Zend Optimizer is a free product available for download from Zend Technologies. Zend Technologies also developed the PHP scripting engine, known as the Zend Engine.



How can I install Zend OPtimizer in Xampp and what are the steps required.?

PostPosted: 12. September 2007 09:37
by Wiedmann
How can I install Zend OPtimizer in Xampp

It's installed and activated by default.

and what are the steps required.?

In your case you have encrypted PHP files? Then you must also enable the loader in "php.ini":
Code: Select all
zend_optimizer.enable_loader = 1

PostPosted: 12. September 2007 11:04
by AjnabiZ
Thanks for the prompt reply


It works now : )

Not for me

PostPosted: 27. October 2007 21:59
by jwk82
Hi there,

I have a simalar problem I think. I changed also have zend optimizer as a reuirement and follwed the instructions above. i found 3 php.ini files and changed them all, but no luck on my part. I just installed xampp 1.6.4.

I have had earlier versions of xampp running and manually installed zend-optimizer and that worked, but not this time, so I came across this thread in the forums.
Can you help please?

Kind Regards,
Jeff

Re: Not for me

PostPosted: 28. October 2007 01:39
by Izzy
jwk82 wrote:...i found 3 php.ini files and changed them all, but no luck on my part...

http://localhost/xampp/phpinfo.php
Will tell you which php.ini file is in use and so will accept your edits.

Also after making any edits in ini and config files a restart of Apache is required for the changes to be recognized.

Here is a copy of my xampp\apache\bin\php.ini file's Zend entries that seem to work without issue. Your paths may be different
Code: Select all
[Zend]
zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 1
zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:



===========================================
1. The new DeskTopXampp launch control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Make Richer Ajax Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================

PostPosted: 28. October 2007 04:56
by jwk82
THANK YOU :-) you have made me a happy chap indeed ;-)