What is Zend Optimizer?

Zend Optimizer is a free application that allows PHP to run files encoded by Zend Guard. Zend Optimizer greatly enhances the performance of PHP applications.


The Zend Optimizer goes over the code generated by the standard Zend run-time compiler and optimizes it for faster execution. The standard Zend run-time compiler used by PHP is indeed very fast, generating code that is usually 2 to 10 times faster. But an application that uses Zend Optimizer can execute scripts another 40% to 100% faster.

The latest stable version of Zend Optimizer is installed on all AVHoster servers as part of our Professional Zend Optimizer Hosting.

Zend Guard Compatibility:


The encoded files must be compiled with a compatible version of the Zend Guard. When you are not sure about the Zend Guard version, always use the latest version of Zend Optimizer. If the versions of Zend Guard and Zend Optimizer are incompatible, the Optimizer will fail to run the encoded files and will display an error message.

To ensure that Zend Optimizer is properly running, create a phpinfo.php file with the following code:

<?php
phpinfo();
?>

Once this is done access the file via web Browser. The part associated with Zend Optimizer will look like this:

This program makes use of the Zend Scripting Language Engine:
Zend Engine vX.Y.Z, Copyright (c) 1998-2007 Zend Technologies.>with Zend Optimizer vX.Y.Z, Copyright (c) 1998-2007, by Zend Technologies

The Zend Optimizer is capable of performing around 20 different optimizations, some of which are quite complex. One of the optimizations Zend Optimizer does is to change post-incrementing to pre-incrementing, where possible since pre-incrementing is the faster operation of the two. You can adjust your Zend Optimizer to perform only the desired optimizations. Each optimization can be turned on or off by setting the corresponding option.
 

One of the most important things about using Zend Optimizer is to have a Zend Optimizer specialized Host. Here are some of the things we are proud of:

  • We have long experience in providing technical support for web sites that use Zend Optimizer.
  • We offer FREE installation of many applications that use Zend Optimizer - CMS systems, forums, galleries, blogs, shopping carts and more.
  • We provide several versions of PHP (PHP 5.0, PHP 5.1, PHP 5.2) on a per-folder basis.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Use PHP and MySQL

PHP is the most popular scripting language for web development. It is free, open-source and...

How to Select Individual Records

As well as showing the whole Database, PHP can be used to select individual records or records...

How to Connect to Your Database

You should establish a connection to the MySQL database. This is an extremely important step...

Creating a database table

Before you can do anything with your Database, you should create a table and set the...

Pear Modules

By default all AVHoster servers have the following Pear packages installed: Archive_Tar...

Powered by WHMCompleteSolution