WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementFebruary 09, 2010
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / Setting Up Zend Optimizer Tutorial

Setting Up Zend Optimizer Tutorial



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 7.50 From 190 Voter(s)

Overview:
The Zend Optimizer is a free application that runs the files encoded by the Zend Encoder and Zend SafeGuard Suite, while enhancing the running speed of PHP applications. Many scripts require that you have Zend Optimizer installed so you are able to run them on your server while decrypting and running them on the fly while increasing runtime performance.
http://www.zend.com/store/products/zend-optimizer.php

Tested On:
This tutorial was test on: Red Hat Enterprise Linux ES using Cpanel and assumes you will be installing on a Cpanel based system otherwise you may need to make modifications in the locations of files and directories for your OS/Control Panel.

Installation:

1) First off you’ll need to grab a copy of the optimizer depending on what platform you would like to install it on.   http://www.zend.com/store/free_download.php?pid=13
Linux users should grab the Linux glibc2.1



Article provided by WebHostGear.com

2) Once you have downloaded the file locally you’ll need to upload it to your web server. FTP to your server and upload it to a directory of your choice. It’s to bad that Zend had to make it so they couldn’t provide us with a direct download so you can’t wget the file directly from the server… a bit of a pain.

3) Uncompress/extract  the file
tar zvfx ZendOptimizer*.tar.gz
cd ZendOptimizer-2.5.3-linux-glibc21-i386/

4) Now run the installer,
./install.sh

5) The welcome screen
zend optimizer install step 1

6) The agreement

zend optimizer install step 2

7) Where do you want to install Zend Optimizer?

zend optimizer install step 3

8) Locate your php.ini file

zend optimizer install step 4

9) Select Yes, chances are you are using Apache web server

zend optimizer install step 5

10) Enter the location of where apache files are 

zend optimizer install step 7

11) Zend changing your php.ini file location, make a note of this.

zend optimizer install step 7

12)

zend optimizer install step 8

13) Restart your web server for the changes to take effect

zend optimizer install step 9

14) Apache should restart successfully.
You may also restart Apache manually using # /etc/init.d/httpd restart

zend optimizer install step 10

15) Ensure that Zend Optimizer is working you can do the following in the shell.
php -v

You should see something like this for output:

PHP 4.3.8 (cgi) (built: Sep  1 2004 17:00:35)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies

16) After the installation is complete you can remove the directory.
cd to where the extracted Zend first.
rm –rf ZendOptimizer-2.5.3-linux-glibc21-i386

Congrats, you have now installed Zend Optimizer.

Article written by Steven Leggett Copyright 2004 WebHostGear.com

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent

Related Articles


� Free Headlines - Hosting RSS Syndication
� How to install ionCube loader
� Getting started with SSH Tutorial
� How to turbo charge your sales calls
� Howto mod_rewrite with Apache
� Cpanel Video Tutorials
� Updating Apache using Cpanel EasyApache
� Turck MMCache for PHP
� Installing Mod_Throttle on cPanel
� Customizing PHP Safe Mode
� WHG FTP Backup


Discuss this article with others in our new hosting forums

Comments / Feedback

Danny Medina
Excellent Zend setup tutorial. It worked beautiful. Thanks :)
Alberto Marlboro
Good Ideia of Zend.(?!?!@)

Gives Zend Optimizer for FREE...(ohh) and CHARGES you 960 U$ for the encoder.

Let me know if Im wrong.
Petter Rogstad
When I try to run install.sh (from the browser?) - it can not be found.

An other question - can you uncompress after you have uploaded the file?

John barnes
I am trying to get my OS Commerce powered system listed on the internet. I am not tech savy. Will the zend optimizer allow me to do that particular procedure?
Worked
Awesome guide, worked flawlessly
Sib
This is the best tutorial I have seen until now. Very hard to find this especialy for noobs like me. But still i'm looking for answers.
My serever is running whit plesk 7.5 and not cpanel;
my OS is FedoraCore 2 - linux 2.6.5-1.358;
Do i upload in binary or acsii mode;
When you talk about uncompress.. install.... is it still via ftp or is it SSH that I recently discovered;
in wich folder schould i install....

Well in case of reply thank you for you'r time?
Sib.
Ray Bridges
Great Tutorial. I'm getting pretty good with the CL thanks to online Tutorials like this. Pretty soon I'll have some real skills.
sib
This is the best tutorial I have seen until now. Very hard to find this especialy for noobs like me. But still i'm looking for answers.
My serever is running whit plesk 7.5 and not cpanel;
my OS is FedoraCore 2 - linux 2.6.5-1.358;
Do i upload in binary or acsii mode;
When you talk about uncompress.. install.... is it still via ftp or is it SSH that I recently discovered;
in wich folder schould i install....

Well in case of reply thank you for you'r time?
Sib.
insight
This is really easy, just log into your Linux server as root and type this in the comand line

/scripts/installzendopt

and now just follow the prompts !
user
dont work.
Ash
@insight : that only works if you have Cpanel/WHM installed on your server.
Gaurav Mudgil
Hi i followed your tutorial to install the zend optamizer .But when it ask me to restart the web server i press yes and after some time it gives me the msg "Installation failed to restart please restart it manually"

then i restart my web server.

but when i type php -v it gives the following message

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/php4_cybersource.so' - libstdc++.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 4.3.10 (cgi) (built: Dec 21 2004 10:27:48)
Copyright 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.6, Copyright 1998-2007, by Zend Technologies

After that when i go to install my hotel reservation system and open it's index.php it gives the parse error of unexpected T_STRING.

So plz help me out to solve this problem.

With Regards
Gaurav Mudgil

khurram
Excellent tutorial......and overall outstanding website with greatly n nicely explained tutorials.......keep it up...
three cheers for webhostinggear.com
arunsv
Gr8..nice work..excllent tutorials...

Cheers...
Charles
Dear Sir,

I am a new user of Dedicated Server, Please help me to install Zend Optimizer, thanks!

1. My system: Fedora Core 6.0
I should download which Zend Optimizer?

2. How to install
I should Unzip and upload Zend Optimized to server and which folder?

3. What's my next step?

Regards!

Charles

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Links:
Lunarpages Coupon