30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

zend_optimizerplus.revalidate_path<br />

If the file search is disabled and a cached file is found that uses the same include_path, the file is not<br />

searched again. Thus, if a file with the same name appears somewhere else in include_path, it won't be<br />

found. Enable this directive if this optimization has an effect on your applications. The default for this<br />

directive is disabled, which means that optimization is active.<br />

Type: boolean<br />

Default Value: 0<br />

Available since version 4.0<br />

zend_optimizerplus.inherited_hack<br />

The Optimizer+ stores the places where DECLARE_CLASS opcodes use inheritance (These are the only<br />

opcodes that can be executed by PHP, but which may not be executed because the parent class is<br />

missing due to optimization). When the file is loaded, Optimizer+ tries to bind the inherited classes by<br />

using the current environment. The problem with this scenario is that, while the DECLARE_CLASS<br />

opcode may not be needed for the current script, if the script requires that the opcode at least be defined,<br />

it may not run. The default for this directive is disabled, which means that optimization is active.<br />

Type: boolean<br />

Default Value: 1<br />

Available since version 4.0<br />

zend_optimizerplus.dups_fix<br />

Enable this hack as a workaround for "duplicate definition" errors<br />

Type: boolean<br />

Default Value: 0<br />

Available since version 4.0<br />

zend_optimizerplus.log_verbosity_level<br />

All Optimizer+ errors go to the Web server log. By default, only fatal errors (level 0) or errors (level 1)<br />

are logged. You can also enable warnings (level 2), info messages (level 3) or debug messesges (level<br />

4). For "debug" binaries, the default log verbosity level is 4, not 1.<br />

Type: integer<br />

Default Value: 1<br />

Available since version 4.0<br />

232

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!