Installing Zend Optimizer in Xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Installing Zend Optimizer in Xampp

Postby AjnabiZ » 12. September 2007 08:07

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.?
AjnabiZ
 
Posts: 2
Joined: 12. September 2007 07:56

Postby Wiedmann » 12. September 2007 09:37

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
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby AjnabiZ » 12. September 2007 11:04

Thanks for the prompt reply


It works now : )
AjnabiZ
 
Posts: 2
Joined: 12. September 2007 07:56

Not for me

Postby jwk82 » 27. October 2007 21:59

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
jwk82
 
Posts: 2
Joined: 27. October 2007 21:52

Re: Not for me

Postby Izzy » 28. October 2007 01:39

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
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby jwk82 » 28. October 2007 04:56

THANK YOU :-) you have made me a happy chap indeed ;-)
jwk82
 
Posts: 2
Joined: 27. October 2007 21:52


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 83 guests