PDA

View Full Version : Postnuke install, "Zend Optimizer not installed"


szmulik
5-2-03, 03:30 PM
Hi

Trying to install postnuke
1. created the database in OPS
2. Uploaded all the files
3. Run install.php, finsihed OK
4. When accessing the site I get "Zend Optimizer not installed"

???

Should I install it?

szmulik
5-2-03, 04:30 PM
... and I did upload a postnuke style called dTAP that apparently uses Zend...

Is Zend installed on powweb servers?

mjp
5-2-03, 04:56 PM
Zend Optimizer is available on the server but it is not run by default. To utilize Zend you can create a custom php.ini file, or call our Zend Optimizer version of php.ini.

To use your own custom php.ini file, create a text file named php.ini, then copy our default php.ini file (available at: http://support.powweb.com/tutorials/phpdotini.php) and paste it into your php.ini text file. At the end of your php.ini file include the following four lines:


[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so
zend_extension_ts=/usr/local/Zend/lib/ZendOptimizer_TS.so


Upload your new php.ini file to each directory that contains Zend Encoded files.

Alternately, you can call our Zend Optimizer version of php.ini in your scripts. The path is:

/usr/local/Zend/etc/php.ini

szmulik
5-2-03, 05:00 PM
Many thanks!

devinemke
5-2-03, 06:07 PM
hey mjp, why does powweb not have the Zend Optimizer enabled by default in the normal php.ini file at usr/local/lib/php.ini?

you might want to update the FAQ, which says "the Zend Optimizer is installed" to indicate that to use it you must take this extra step.

mjp
5-2-03, 07:36 PM
Zend is no longer run by default because when we upgraded to php 4.3.0 the latest version of Zend at the time did not peacefully co-exist with the latest version of php. Do a search here for "Zend" to witness the ugly details.

I suppose if some new program that used Zend swept the web like wildfire and hundreds of clients were clamoring for it, the admins would re-evaluate the situation. But as it stands now we get very few requests for Zend, so leaving it out of the default php.ini hasn't really been an issue.

I'll see what I can do about updating the FAQ though, to make it clear that steps are necessary to use Zend.

mjp