FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 26-04-10, 06:06 AM
WHUK Alec's Avatar
VPS Team
 
Join Date: Apr 2010
Posts: 8
Default Installing Zend Optimizer on Ubuntu-Plesk VPS

For installing and integrating the Zend Optimizer with php on a Linux - ubunto vps with plesk panel, you can follow the given steps :

1) You can download the latest compatible version of Zend Optimizer archive in tar.gz format from the site http://www.zend.com/products/guard/downloads
depending on the architecture of the server. (to get the architecture of your Linux vps, you can use command : uname -m)

Quote:
cd /usr/local/src
2) Unzip (untar) the archive to extract files/folders in it.

Quote:
tar -zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
3) Copy the extracted Zend Optimizer ".so" file to /usr/local/ folder
(Select the compatible .so file depending on the version of php on your vps. For eg : php 4.X.X, php 5.X.X etc.)

Quote:
cd ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp
Quote:
cp ZendOptimizer.so /usr/local/
4) Edit the php.ini file and specify the full path of Zend Optimizer ".so" file to zend_extension.
(to get the absolute path of php.ini file on server, you can use command : php -i | grep php.ini)

Quote:
php -i | grep php.ini
Quote:
vi /etc/php5/cli/php.ini
Search for string "zend_extension" and add the line as follows in php.ini file :

Quote:
zend_extension=/usr/local/ZendOptimizer.so
(you need to add the above line under "zend.ze1_compatibility_mode = Off" line and followed by IonCube Loader extension entry.)

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off
zend_extension=/usr/local/ioncube_loader_lin_5.2.so
zend_extension=/usr/local/ZendOptimizer.so

5) restart apche service

Quote:
/etc/init.d/apache2 restart
6) confim the Zend Optimizer php module by command :

Quote:
php -v
You should get the output similar to following :

============
PHP 5.2.4-2ubuntu5.10 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2010 22:01:14)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.3.15, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
============

Thank You!!
-------------
Regards,
Alec
VPS Support Team
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 01:08 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials