UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Tutorials / How to?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-06-2007, 15:30
Rock's Avatar
System Administrator
 
Join Date: Dec 2006
Posts: 526
Lightbulb How to install Zend Optimizer on Plesk or on any plain server?

Hi,

As cPanel provides a built-in or rather ready made script (/scripts/installzendopt) for installing Zend Optimizer, I have come across many people asking questions about installing Zend Optimizer on Plesk Control Panel or on any other plain server (non-control-panel server).

Here are the most simple steps to install ZendOptimizer-3.0.1 on Plesk:
Code:
cd /usr/local/src
wget http://www.eth0.us/files/ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
tar -zxf ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.0.1-linux-glibc21-i386
./install
Now just hit enter a few times until it is done...

That's it !!!
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Reply With Quote
  #2 (permalink)  
Old 29-06-2007, 19:50
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,286
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Another good tutorial - thank you! The tutorials seem to becoming more faster these days - which is always a good sign .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! http://djdavid.dpscomputing.com (My DJ Website)
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website)
Reply With Quote
  #3 (permalink)  
Old 18-03-2008, 10:18
Junior Member
 
Join Date: Mar 2008
Posts: 25
Default

Im suspicious.... this looks just a little too easy!

Im sure i can manage to screw this up one way or another!

Just one question, before i give this a go. Will this direct to the latest version of Zend, or do i need to adjust the code to do this?

Thanks

Andy.
__________________
Audio-visual services - www.sound-designs.co.uk
Renewable Energy Services - www.frenergy.co.uk
Online Eco Store - www.ecosale.co.uk
Reply With Quote
  #4 (permalink)  
Old 19-03-2008, 05:41
Rock's Avatar
System Administrator
 
Join Date: Dec 2006
Posts: 526
Default

You'd need to change the code to match the latest version of Zend Optimizer available here
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Reply With Quote
  #5 (permalink)  
Old 29-04-2008, 17:06
Rsync's Avatar
System Administrator
 
Join Date: Mar 2007
Posts: 32
Default

PROBLEM
Getting following error after installation of Zend Optimizer on a Plesk server,
Quote:
[root@vps ~]# php -v
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
[root@vps ~]#
CAUSE
This error occurs because of incorrect extensions order in PHP configuration.

RESOLUTION
Zend extensions can be loaded directly from /etc/php.ini file or included from /etc/php.d/ directory. In both ways they should be loaded in the right order.

If extensions are loaded from "/etc/php.ini"
Quote:
then 'ioncube' line like zend_extension=/usr/lib/ioncube/php_ioncube_loader_lin_X.X.so
in /etc/php.ini must appear before Zend configuration sections, that usually begins with [Zend]
If extensions are loaded from /etc/php.d,they are loaded in alphabetical order of files. Usually 'ioncube' file is named /etc/php.d/ioncube.ini and zend is /etc/php.d/zend.ini.
Quote:
zend.ini section looks like this,
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
then restart apache service
Quote:
/sbin/service httpd restart
verified output
Quote:
[root@vps ~]# php -v
PHP 5.1.6 (cli) (built: May 9 2007 11:29:06)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.28, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
[root@vps ~]#
Now everything works, and Zend is properly displayed in php.ini
__________________
Regards,
VPS Support Team,
http://www.eukhost.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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


All times are GMT. The time now is 09:03.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories