[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RaQ4: Zend Optimizer



> I would like to install the program Zend Optimizer on my RaQ4.
> The Install Script asks then the following:
> Specify the Apache bin directory
>
> If I then the following line confirm receive I an error message:
> /usr/local/apache/bin
>
> Error: Cannot find Apache binary in the specified directory. Please try
> again.
>
>
> Does someone have a guidance for me?
> In archives and with Google I found nothing.

I posted instructions for a RaQ550 install with Zend - its pretty simple on
the RaQ4 also but don't use the install script you might upset the cobalt.

here's the main bit for it - you will need to use the correct version for
your RaQ4 php version though depending on whether you are stock cobalt or
pkgmaster or self compiled

Good Luck

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