Enable Zlib Compression If EAccelerator Is Already Installed
Feb 13, 2007
Does it make sense to enable zlib compression if eAccelerator is already installed? I'm running PHP 5.2.1 (FastCGI) with lighttpd 1.4.13 and eAccelerator 0.9.5. Also, here's a more general question. Since I manually compiled these programs, how would I go about updating them with the source files? Would I just repeat the normal installation process with the new source files?
View 2 Replies
ADVERTISEMENT
Jan 30, 2014
how to enable bzip2 compression in phpmyadmin.
View 5 Replies
View Related
Aug 19, 2012
I have been trying to enable server-wide compression using deflate.My server is running a fresh install of plesk panel 11 installed over a fresh centos 6 64. The configs and settings (aside from files I mention) have not been changed at all from default.
I have created a new file in /etc/httpf/conf.d/deflate.conf This file is being included when Apache is restarted, so that's definitely working and the html doc compresses. But not matter what I do (I have tried every combination Google would find) css and js files will not compress. At my previous workplace we also used a Plesk server and nobody could ever get compression working there either.
View 4 Replies
View Related
Apr 22, 2009
db compression after compression and before compression size differs?
Actually I had downloaded backup of IPB forum in ssh mode, it was around 88mb in .sql format
zipped it, turned out to be 21.2MB
uploaded it to server, and unzipped there, its now
84.6MB
now does this mean any files are lost or corrupted? As the actual size before compression was 88MB
View 3 Replies
View Related
May 22, 2014
Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?
In global php.ini I have:
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =
View 1 Replies
View Related
Apr 30, 2008
Does anyone have a recommendation for the eaccelerator eaccelerator.shm_ttl setting? If it was left at the default of "0", this means no newer scripts would ever be cached once the memory is full. Or would it do additional caching on disk as well and not show up in the phpino.php file?
We have alloted 32 Megs of Ram for eA. Maybe something like this would help move some old scripts out of the cache?
eaccelerator.shm_ttl="86400"
eaccelerator.shm_prune_period="0"
View 0 Replies
View Related
Apr 9, 2008
I have enabled compression in IIS6 on win2k3 server and the dynamic compression is working lovely but the static compression is not functioning. I have double checked the metabase settings and permissions on the Temp Folder (IUSR write permissions) but nothing is ever written to the folder and my static files (htm,html) are not sent with compression! FWIW I can compress them by adding the filetype to the dynamic compression metabase string and they work but this is not efficient. I think I must have overlooked something...
Here are the metabase values:
<IIsCompressionSchemeLocation ="/LM/W3SVC/Filters/Compression/deflate"
HcCompressionDll="%windir%system32inetsrvgzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="asp
dll
php"
>
</IIsCompressionScheme>
<IIsCompressionSchemeLocation ="/LM/W3SVC/Filters/Compression/gzip"
HcCompressionDll="%windir%system32inetsrvgzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="asp
dll
php"
>
</IIsCompressionScheme>
<IIsCompressionSchemesLocation ="/LM/W3SVC/Filters/Compression/Parameters"
HcCacheControlHeader="max-age=86400"
HcCompressionBufferSize="8192"
HcCompressionDirectory="C:WINDOWSIIS Temporary Compressed Files"
HcDoDiskSpaceLimiting="FALSE"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT"
HcFilesDeletedPerDiskFree="256"
HcIoBufferSize="8192"
HcMaxDiskSpaceUsage="99614720"
HcMaxQueueLength="1000"
HcMinFileSizeForComp="256"
HcNoCompressionForHttp10="FALSE"
HcNoCompressionForProxies="TRUE"
HcNoCompressionForRange="FALSE"
HcSendCacheHeaders="TRUE"
>
</IIsCompressionSchemes>
View 0 Replies
View Related
Dec 6, 2013
I need to speed up my website to be faster because of search engines.
Now, how to install G-zip compression on my VPS.
CentOS
View 7 Replies
View Related
Apr 14, 2008
When eAccelerator doesn't have enough free shared memory to cache a new script it will remove all scripts from shared memory cache that haven't been accessed in at least shm_ttl seconds. By default this value is set to "0" which means that eAccelerator won't try to remove any old scripts from shared memory.
Does that mean that once the shared memory is full, that even if a script that is in shared memory hasn't been accessed in 5 months, any new scripts will have to be ran off of the compiled versions on disk instead of being read out of the much-faster RAM?
View 3 Replies
View Related
Feb 4, 2007
i installed eAccelerator, everything look good, exept i have a problem with Wifidog-auth server that i have installed, it gives me errors that it cant connect to database.... but not all the times, could eaccelarator be doing this? it was fine before i installed EA
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96 Stack trace: #0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL) #1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true) #2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true) #3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/hotspot_status.php(53): require_once('/home/lavals/pu...') #4 {main} thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96
View 4 Replies
View Related
Nov 12, 2007
It seems that eAccelerator 0.9.5.2 is incompatible with the latest PHP 5.2.5.
Any else can confirm this?
View 3 Replies
View Related
Jul 22, 2009
I have a Linux server for shared hosting in which I am using Cpanel/WHM. I have PHP running as suPHP which I believe is for security. The problem I am facing is a lot of PHP based websites create load on the server and consume as much as 10% of the CPU and sometimes some script even consumes 50% CPU. I think I can reduce the load caused by the PHP scripts by installing eAccelerator. However, it does not work with PHP running as suPHP. Can anybody tell me which one should I choose of the both? Is there any other way to reduce the load on the server?
View 14 Replies
View Related
Mar 30, 2009
if anyone has run any tests or if there is a way to tell one of the other. I would like benchmark test them, just not sure how.
View 2 Replies
View Related
Jun 22, 2009
I successfully installed eAccelerator and its already working fine then I decided to update my PHP version which is 5.1.6 to 5.2.6 after the upgrade eAccelerator is no longer loaded I tried recompiling eAccelerator but to no avail it doesnt load anymore I double checked eaccelerator.ini and it was already set. Someone said that the phpize that was installed in my server is not compatible to PHP5.2.6 and it needs to be updated also but I cant seem to update it since it always says that it is already updated.
I am using CentOS5.3.
View 2 Replies
View Related
Jun 6, 2008
I've got a CentOS 5.0 machine running PHP 4 & 5 in FastCGI mode with suPHP.
I've read the instructions to install eAccelerator at: InstallFromSource - eAccelerator - Trac
However there is a line at the beginning that says it is safe to follow those directions if you have ONE php install.
I have php5 as default and php4 optional. Does this count as 1 or 2 installs?
View 8 Replies
View Related
Jul 21, 2008
What do you think is better Xcache or eAccelerator and why?
I can see that xcache is a little bit faster but what is better to use?
View 4 Replies
View Related
Mar 27, 2008
I have a server and I have several proxies on it together with some of my websites.
The thing is sometime it will overload.
I was thinking to install xcache or eaccelerator.
which should I install? Which is better?
View 7 Replies
View Related
Nov 6, 2007
running php5 on FC2 server and wish to install eAccelerator, if i do 'yum info eaccelerator' it shows following as available.
Quote:
Looking in Available Packages:
Name : php-eaccelerator
Arch : i386
Version: 4.3.11_0.9.3
Release: 4.1.fc2.rf
Size : 231.11 kB
Group : Development/Languages
Repo : Dag RPM Repository for Fedora Core 2
This seems out of date?
Is this correct package or should be looking for another one?
View 1 Replies
View Related
Feb 22, 2007
After upgrading to php 4.4.5 from 4.4.4 I am getting this error in modern bill
[23126] EACCELERATOR: PHP crashed on opline 245 of session_register() at /home/user/public_html/modernbill/include/functions.inc.php:99
Anyone face this issue before? I've always used both EA and MB.
[eAccelerator]
zend_extension="/usr/lib/php/eaccelerator/eaccelerator.so"
eaccelerator.shm_size="4096"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="3"
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="1"
eaccelerator.keys="shm_and_disk"
eaccelerator.sessions="shm_and_disk"
eaccelerator.content="shm_and_disk"
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.2
zend_optimizer.version=3.2.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
.htaccess file:
<Files .htaccess>
order allow,deny
deny from all
</Files>
DirectoryIndex index.php
Options -Indexes
php_value "magic_quotes_gpc" "1"
php_value "register_globals" "1"
php_value "error_reporting" "2039"
View 6 Replies
View Related
Dec 8, 2007
How to remove eAccelerator, I updated my apache and there I got the option to install it ,and I installed it
View 7 Replies
View Related
Apr 5, 2007
Everything was working fine until I upgraded from PHP 5.2.0 to PHP 5.2.1. I compiled from source to upgrade, and I installed PHP 5.2.0 from source. Once I upgraded, eAccelerator complained that I had to recompile it again for it to work on 5.2.1. I did and it gave me the same error. I recompiled maybe 10 times and it has still complained about it. How do I fix this error?
View 2 Replies
View Related
Nov 6, 2007
whether if its a good diea to enable these settings for eAccelerator?
eaccelerator.shm_max
eaccelerator.shm_ttl
eaccelerator.shm_prune_period
There are scripts which are accessed once a day and i guess i shoudl set to prune those scripts which arent accessed for a few hours or so?
View 9 Replies
View Related
Oct 28, 2009
how I can get rid of this?
Code:
[28-Oct-2009 16:01:08] PHP Warning: Module 'eAccelerator' already loaded in Unknown on line 0
View 4 Replies
View Related
Feb 22, 2008
I read on some threads here, that installing Zend Optimizer and Eaccelerator, speeds up the box.
I already installed ZEND optimizer on my box, can someone explain benefit's of Eaccelerator , and how to install it and tweak it for best performance ?
Current Specs -
Quote:
PHP 4.4.8 (cli) (built: Feb 21 2008 01:17:23)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
View 9 Replies
View Related
Feb 23, 2007
I am using PHP 5.2.1 (recently upgraded), Apache 2.2.4.
Before the upgrade, I had Zend Optimer and eAccelerator installed.
However, after upgrade of Apache and PHP + I had to reboot the server, I went on to reinstall eAccelerator.
Here is what php -v gave me :
=================
eAccelerator requires Zend Engine API version 220051024.
The zend Engine API version 220060519 which is installed, is newer.
contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator.
PHP 5.2.1 (cli) (built: Feb 23 2007 11:36:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by zend Technologies
with zend Optimizer v3.2.2, Coopyright (c) 1998-2006, by zend Technologies
=========================
the version of eAccelerator I tried to install is the latest one ( 0.95)
View 4 Replies
View Related
Feb 19, 2007
I tested eaccelerator with php 5.1.6 but I noticed just a very minor performance improvement. Eaccelerator is known for his incompatiblities, also php 5.1 is a big boy now and no longer need an accelerator.
View 2 Replies
View Related
Feb 1, 2007
how big I should set the cache size for eaccelerator?
Here's the information from the control.php
Caching enabled yes
Optimizer enabled yes
Memory usage 100.00% (16.00MB/ 16.00MB)
Free memory 0.00MB
Cached scripts 148
Removed scripts 0
Cached keys 0
View 1 Replies
View Related
Apr 8, 2007
Install IonCube:
==================================
Code:
wget [url]
#### 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
Add this line BEFORE any other zend_extension (e.g. Zend Optimizer or eAccelerator).
(#### 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 [url]
==================================
Install eAccelerator (cPanel):
==================================
Code:
wget [url]
==================================
View 14 Replies
View Related
Feb 8, 2007
Using version 0.9.5 with the default settings. The cache fills up the shared memory in less than a day. I noticed the cached script is stuck at 176, what happens after this? Will it cache content to disk in the temporary folder (/tmp/eaccelerator/) when the shared memory is full?
View 0 Replies
View Related
Apr 9, 2009
I'm sure all of you who use eaccelerator know how big the cache can get and that it needs emptied manually. Well at least to my knowledge it does, the only thing I have seen that you can configure is the shm pruning. If anyone does know such a feature with eaccelerator please share. But I also notice a performance decrease and a few php errors mostly related to memory allocations here and there.
Anyway I was piddling around and came up with a command to disable eaccelerator from php.ini, delete the cache folder and then enable it back. I figured this would be good as a daily cron. I would like some input if anyone knows any better ways.
So I wanted to share this in case someone else here has the same problems with eaccelerator cache folder getting huge. If anyone knows a way to make this better or shorter please reply with solution.
Of course this will vary depending on where your php.ini is and where your eaccelerator cache is. Just replace those values with yours. I'm sure there is also a way to use similar commands to find and input these values, again if anyone knows please share.
Code:
find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/extension="eaccelerator.so"/;extension="eaccelerator.so"/g' ; rm -rf /usr/lib/php/eacc ; mkdir /usr/lib/php/eacc ; chmod 4777 /usr/lib/php/eacc ; find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/;extension="eaccelerator.so"/extension="eaccelerator.so"/g'
View 4 Replies
View Related
Oct 15, 2009
I have been trying to figure out which one I should be using for my wordpress site. I have read some discussion but after reading it all I am on the fence. Will Xcache work with cpanel?
The server is running XEN, with cpanel/whm, php5
The server spec is:
3.0Ghz - 8 cpu's
2048MB RAM, and 2048MB SWAP
I have also heard some people using litespeed server, would this be any good?
View 8 Replies
View Related