Hi folks, Do you use some sort of cache/optimizers in your semi-ded setup? I know that you have pretty robust servers, but anyway.
If not is it possible to add it through the personalized php.ini files on our own directory?
Cheers,
Andres
This is a discussion on eAccelerator, APC & friends on Shared in the Shared & Semi-Dedicated forum
Hi folks, Do you use some sort of cache/optimizers in your semi-ded setup? I know that you have pretty robust servers, but anyway.
If not ...
Hi folks, Do you use some sort of cache/optimizers in your semi-ded setup? I know that you have pretty robust servers, but anyway.
If not is it possible to add it through the personalized php.ini files on our own directory?
Cheers,
Andres
Zend Optimizer and Ion Cube Loaders are both installed.
Rob
And, I use GZIP compression on my sites...
For instance:
http://www.whatsmyip.org/mod_gzip_te...xlbm9uLmNvbQ==
http://www.whatsmyip.org/mod_gzip_te...xlbm9uLmluZm8=
http://www.whatsmyip.org/mod_gzip_te...aW5 fUGFnZQ==
Last edited by Vin DSL; 10-14-2007 at 12:03 PM.
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Thanks Rob, so I guess there's nothing to mess with on my end.
VinDSL: mod_gzip isn't enabled by default on semi-ded, how do I do it?
First of all, I turn on zlib output compression in the php.ini file - I *think* that's the default setting, but it never hurts to check.
From there, it all depends on the proggie...
For instance, in Nuke I insert this into the headers:
Heh! Just realized...PHP Code:$phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
ob_start('ob_gzhandler');
}else if ($phpver > '4.0'){
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')){
if (extension_loaded('zlib')){
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
}
}
}
I guess I could clean that up now, since PHP4 is supposedly dead and about to be buried!
Anyway, then I put this into the footers:
Simple pimple, huh?PHP Code:$contents = ob_get_contents(); // store buffer in $contents
ob_end_clean(); // delete output buffer and stop buffering
You just gotta be careful NOT to send the headers twice, or your site will start throwing errors...
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
AFAIK you can ask support to enable mod_gzip too, if you want it.
On SDX a cache like APC may well make sense. Then again, perhaps the extra complexity just isn't worth it for JagPC. I don't think you can't install and enable such yourself. If it's there, a phpinfo() will show you.
Regards,
Wim Heemskerk
---
Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
And Gwaihir.net - The Middle-earth CCG store
Copyright © 2011 JaguarPC.com
Bookmarks