30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Download Server -<br />

Configuration Directives<br />

Configuration Directives Summary<br />

Directive Type<br />

Modification<br />

Scope<br />

zend_dserver.enable boolean PHP_INI_SYSTEM<br />

Description<br />

API <strong>Reference</strong><br />

Enables or disables the Zend Download<br />

Server (ZDS) component. This can also<br />

be done in Zend Server, from Server<br />

Setup | Components. When turned to<br />

'On', the ZDS passes downloads to a<br />

dedicated process. When turned to 'Off',<br />

all downloads are handled by the Apache<br />

server<br />

zend_dserver.mime_types_file string PHP_INI_SYSTEM The full path to the MIME type file.<br />

zend_dserver.log_file string PHP_INI_SYSTEM<br />

The location of the Zend Download Server<br />

(ZDS) log file<br />

zend_dserver.log_verbosity integer PHP_INI_SYSTEM Log's Verbosity Level<br />

zend_dserver.min_file_size integer PHP_INI_SYSTEM<br />

zend_dserver.nice integer PHP_INI_SYSTEM<br />

zend_dserver.disable_byterange boolean PHP_INI_SYSTEM<br />

zend_dserver.etag_params string PHP_INI_SYSTEM<br />

zend_dserver.mmap_chunk integer PHP_INI_SYSTEM<br />

zend_dserver.use_sendfile boolean PHP_INI_SYSTEM<br />

External Configuration File: mime_types<br />

The minimal file size that can be served<br />

via a ZDS process. Smaller files are<br />

served via Apache<br />

The ZDS process priority level. The lower<br />

the number, the higher the priority the<br />

process is given.<br />

Disables handling byte-range requests. All<br />

requests return an entire file<br />

The file attributes that are taken as part of<br />

an etag.<br />

The size of the data chunks that are read<br />

from the file into the socket.<br />

Enable use of sendfile() backend. It can<br />

significantly improve performence<br />

The mime_types file is an external list of file extensions that should be sent through the Zend Download<br />

Server.<br />

261

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

Saved successfully!

Ooh no, something went wrong!