The following is a list of steps to take for installing Zend Optimizer for any version of PHP. Although easy to use (and follow) like most things never done before, it can be a bit intimating. Using this step-by-step guide will help to alleviate any fears one may have, as this procedure is a no-brainer -- once one has done it a few times.
Login to SSH as 'root'.
# /scripts/installzendopt
This starts the install script and steps are numbered for convienence.
Zend Optimizer 2.1.0
Welcome to the Zend Optimizer 2.1.0 Installation Script!
For more information on this script, see the Installation
section in the Zend Optimizer User Guide.
Press Enter
Note: with all questions, except maybe #5, go with the defaults shown. Use the 'Enter' key after each step.
1. Specify the location where to install Zend Optimizer
2. Confirm the location of your php.ini file
3. Are you using Apache web server?
4. Specify the Apache configuration directory
5. Please confirm you are using PHP xxx
[If using 4.3.1, choose 'No' - use the right arrow key to move to No, otherwise, choose 'Yes']
Press Enter
5a. Setup has failed to determine your PHP version.
1. Detection of PHP version from a binary.
2. Manually select my PHP version.
[use down arrow key to move to #2]
Press Enter
5b. In order to install the correct version of the Zend Modules
you must specify which PHP version you are using.
1 PHP 4.0.5/6
2 PHP 4.1.x
3 PHP 4.2.0
4 PHP 4.2.x (other than 4.2.0)
5 PHP 4.3.x
[if using 4.3.1, use down arrow key and choose #5]
Press Enter
6. Specifiy the Apache bin directory.
7. Your php.ini is relocated to the /usr/local/Zend/etc directory and a symbolic
link from the former place /usr/local/lib/php.ini is created.
8. The installation was completed successfully.
The Zend optimizer is now ready for use.
You must re-start your Web server for the modifications to take place.
9. Restart the Web server now?
Choose 'Yes'.
This guide should help most people using Cpanel, but does not guarentee a perfect install. It is only for information purposes to give one an idea of what to expect when using '/scripts/installzendopt' -- which is a very fast, easy way, to install/upgrade the Zend Optimizer.