[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Zend Optimizer on Raq5
- Subject: RE: [cobalt-users] Zend Optimizer on Raq5
- From: Mark Roebuck <mroebuck@xxxxxxxxxxxxxxxxxxx>
- Date: Wed Jan 15 13:45:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Has anyone got the Zend Optimiser working on a Raq5? and perhaps some
> instructions.
>
> Thanks
>
> Mark
Funnily enough - I have been doing exactly that tonight
simple enough - download the ZendOptimizer package from www.Zend.com - in
the store section and unpack it using tar xvfz package name
ok the file you want is in data and then 4_0_6 (as this is the version of
PHP on the RaQ550 unless you have upgraded it) in there you will find a file
called ZendOptimizer.so
Now create a directory mkdir /usr/local/lib/Zend and then copy the .so file
into it
nearly done now edit php.ini pico is easiest pico /etc/http/php.ini
and insert the following lines
zend_optimizer.optimization_level=15
zend_extension="/usr/local/lib/Zend/ZendOptimizer.so"
the best place (well the one I used and it works <smile>) is under Dynamic
Extensions - search for this by pressing crtl w and then entering Dynamic
Ext
ok now save with ctrl x press y and you're nearly done
now you just have to restart http with /etc/rc.d/init.d/http restart - it
will probably complain about some sites not having virtual hosts not sure
why.
now go to a site and paste this into a file called phpinfo.php
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
bring this file up in your browser and you should see near the top a Zend
logo and some info saying it is using the Zend engine and some versions.
Happy hacking
Regards
Gavin
That worked, Thanks
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003