(I installed it as a Zend extension)
eAccelerator on VPS plans
#1
Posted 24 August 2005 - 10:50 AM
(I installed it as a Zend extension)
An Aussie geek stuck in Texas
Road Show Blondes - Follow the Road Show as we drive from Houston to New York City to raise awareness and money for suicide prevention with The Jed Foundation.
#2
Posted 25 August 2005 - 11:44 PM
tar zxf eaccelerator-0.9.3.tar.gz
cd eaccelerator-0.9.3
mkdir /usr/lib/php/extensions
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator --with-php-config=$PHP_PREFIX/bin/php-config
make
cp modules/eaccelerator.so /usr/lib/php/extensions/
cat <<EOT >> /usr/local/lib/php.ini
zend_extension="/usr/lib/php/extensions/eaccelerator.so"
eaccelerator.shm_size="6"
eaccelerator.cache_dir="/mmcache"
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="1"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
EOT
cd
wget http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz
tar zxf ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz
ZendOptimizer-2.5.10a-linux-glibc21-i386/install
httpd
Just keep hitting enter until it quits during the Zend Optimizer install.
We use this in the bootstrap script I use for setting up new servers. So, it should work without incident.
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>
Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
#3
Posted 26 August 2005 - 09:59 AM
Any other suggested extensions VPS users should install?
#4
Posted 26 August 2005 - 10:05 AM
I'm thinking of setting up that eAccelerator.php script as well just to sataisfy my curiosity to what exactly it is doing.
An Aussie geek stuck in Texas
Road Show Blondes - Follow the Road Show as we drive from Houston to New York City to raise awareness and money for suicide prevention with The Jed Foundation.
#5
Posted 26 August 2005 - 04:25 PM
What do I have to install to get the served pages gzipped?
#10
Posted 26 August 2005 - 05:30 PM
Just be sure to check /tmp every once in a while if you do use it. Orphaned .wrk files sometimes get left around if Apache crashes or the connection isn't closed properly. They aren't that big, but there can be a lot that build up if you're not careful.
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>
Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
#12
Posted 26 August 2005 - 07:46 PM
The bit in php.ini is still there, and it doesn't help to restart Apache. Before I recompiled Apache with mod gzip I was able to use the ea.php file to see that it was installed and working, but now it says "Not installed".
Any tips?
#13
Posted 26 August 2005 - 08:00 PM
An Aussie geek stuck in Texas
Road Show Blondes - Follow the Road Show as we drive from Houston to New York City to raise awareness and money for suicide prevention with The Jed Foundation.
#14
Posted 26 August 2005 - 08:03 PM
I think I have everything I need, my nameservers should be propagated tomorrow night so I want to make sure I have everything I need:
http://70.86.92.85/~logan/phpinfo.php
Thanks
This post has been edited by Logan: 26 August 2005 - 08:12 PM
#19
Posted 30 August 2005 - 12:32 PM
#20
Posted 30 August 2005 - 12:34 PM
An Aussie geek stuck in Texas
Road Show Blondes - Follow the Road Show as we drive from Houston to New York City to raise awareness and money for suicide prevention with The Jed Foundation.




Sign In
Register
Help



MultiQuote


