Results 1 to 25 of 75
-
04-08-2007, 09:23 AM #1Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Zend Opt., IonCube, eAccelerator [all at once]
Install IonCube:
==================================
Code:wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar zfx ioncube_loaders_lin_x86.tar.gz cd ioncube #### replace below with the version tree you have (I will use 4.4) cp ioncube_loader_lin_4.4.so /usr/local/lib/php/extensions
(#### replace below with the version tree you have (I will use 4.4))
Code:zend_extension = /usr/local/lib/php/extensions/ioncube_loader_lin_4.4.so
Install Zend Optimizer:
==================================
Code:wget http://downloads.zend.com/optimizer/3.2.6/ZendOptimizer-3.2.6-linux-glibc21-i386.tar.gz tar zfx ZendOptimizer-3.2.6-linux-glibc21-i386.tar.gz cd ZendOptimizer-3.2.6-linux-glibc21-i386 ./install.sh
Install eAccelerator (cPanel):
==================================
Code:wget http://tutorials.medialayer.com/cPanel/eaccelerator.sh chmod 700 eaccelerator.sh ./eaccelerator.sh
Last edited by bear; 04-09-2007 at 06:07 PM.
-
04-09-2007, 04:30 PM #2Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
Are these steps compatible with PHP Version 5.2.0 (standard install on a cPanel server).
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
04-09-2007, 04:32 PM #3Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Originally Posted by vinsar
-
04-09-2007, 04:56 PM #4Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
I have already got this in my php.ini at /usr/local/Zend/etc/php.ini:
zend_extension="/ea/eaccelerator-0.9.3/modules/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
04-09-2007, 05:20 PM #5Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Originally Posted by vinsar
-
04-09-2007, 05:40 PM #6Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
Hey thanks man I got it working, my php.info says:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.29, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.6, Copyright (c) 1998-2007, by Zend Technologies
layer0 there was a typo in ioncube section which I am correcting with your due permission. And yes 4.4 should read as 5.2
Originally Posted by layer0Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
04-09-2007, 05:41 PM #7Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Ah, I will report the post and have a moderator edit this for me. Glad to hear you got it working though!
-
04-20-2007, 08:20 PM #8Over there
- Join Date
- Oct 2004
- Location
- LA, CA
- Posts
- 1,069
Will this work on a server without cPanel running lighttpd?
-
04-20-2007, 08:21 PM #9Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
04-20-2007, 08:45 PM #10Over there
- Join Date
- Oct 2004
- Location
- LA, CA
- Posts
- 1,069
If I have eAccelerator already installed, could I just install the first two? Would I have to configure eAccelerator or recompile it again?
-
04-20-2007, 08:53 PM #11Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
04-25-2007, 11:10 AM #12Junior Guru Wannabe
- Join Date
- Sep 2004
- Posts
- 42
The easiest why I ever seen thanks.
-
04-29-2007, 11:24 PM #13Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 61
Perfect...
I have everything showing now..
Shame I still can't get SMF to recognise eAccelerator.
So if you know how to, let us know..
Anyway, great post.
-
04-30-2007, 05:18 AM #14Web Hosting Guru
- Join Date
- Jan 2002
- Posts
- 325
For SMF to "see" eAccelerator, it needs to be compiled --with-eaccelerator-content-caching
-
04-30-2007, 08:40 AM #15Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 61
Thx Scotty_B
Wierd, I have tried to change the eaccelerator.sh file with this
bash $PHPIZE
./configure --enable-eaccelerator=shared --with-php-config=$PHP_BIN/php-config --with-eaccelerator-content-caching
but it is wtill not seen by SMF..
Any ideas?
-
05-10-2007, 08:00 AM #16Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 491
Does the zend optimizer offer any serious performance benefit over just turning on the eaccelerator optimizer? I've googled for benchmarks comparing zend on/off with eaccelerator without luck.
Are we talking a couple percentage points of boost or something more significant?
-
05-10-2007, 02:00 PM #17Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
05-13-2007, 08:12 AM #18Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
as cPanel 11 is out, so is this script compatible with it?
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
05-13-2007, 11:49 AM #19Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
05-13-2007, 03:57 PM #20Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
Ok I just did an Apache Update through WHM upgraded PHP to 5.2.1 and then noticed that the above install disappeared, now what to do?
Also I noticed that new versions of Zend/IonCube/eAccelerator are out.
So now to get them back on my server do I need to simply reinstall following your steps, or something more is to be done, I mean removing older install etc?Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
05-13-2007, 04:06 PM #21Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
06-13-2007, 07:47 PM #22Newbie
- Join Date
- May 2007
- Posts
- 7
when i only see this in my php info is it normal??
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.2.6, Copyright (c) 1998-2007, by Zend Technologies
-
06-13-2007, 07:53 PM #23Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
That shows you do not have eAccelerator installed.
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
06-13-2007, 08:02 PM #24Newbie
- Join Date
- May 2007
- Posts
- 7
-
06-13-2007, 08:29 PM #25Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
I have suexec enabled and things are working fine for me. I think its PHPsuexec that is not compatible, but then I am not an expert in this field.
May be layer0 can shed some light on it.Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence