You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: API Reference Guide > Zend Download Server - Configuration Directives

Zend Download Server - Configuration Directives

Configuration Directives Summary

Directive Type Modification Scope Description
zend_dserver.enable boolean PHP_INI_SYSTEM Enables or disables the Zend Download Server (ZDS) component. This can also be done in Zend Server, from Server Setup | Components. When turned to 'On', the ZDS passes downloads to a dedicated process. When turned to 'Off', all downloads are handled by the Apache server
zend_dserver.mime_types_file string PHP_INI_SYSTEM The full path to the MIME type file.
zend_dserver.log_file string PHP_INI_SYSTEM The location of the Zend Download Server (ZDS) log file
zend_dserver.log_verbosity integer PHP_INI_SYSTEM Log's Verbosity Level
zend_dserver.min_file_size integer PHP_INI_SYSTEM The minimal file size that can be served via a ZDS process. Smaller files are served via Apache
zend_dserver.nice integer PHP_INI_SYSTEM The ZDS process priority level. The lower the number, the higher the priority the process is given.
zend_dserver.disable_byterange boolean PHP_INI_SYSTEM Disables handling byte-range requests. All requests return an entire file
zend_dserver.etag_params string PHP_INI_SYSTEM The file attributes that are taken as part of an etag.
zend_dserver.mmap_chunk integer PHP_INI_SYSTEM The size of the data chunks that are read from the file into the socket.
zend_dserver.use_sendfile boolean PHP_INI_SYSTEM Enable use of sendfile() backend. It can significantly improve performence

External Configuration File: mime_types

The mime_types file is an external list of file extensions that should be sent through the Zend Download Server.

Configuration Directive Details

zend_dserver.enable

Enables or disables the Zend Download Server (ZDS) component. This can also be done in Zend Server, from Server Setup | Components. When turned to 'On', the ZDS passes downloads to a dedicated process. When turned to 'Off', all downloads are handled by the Apache server

Type: boolean

Default Value: 1

Available since version

zend_dserver.mime_types_file

The full path to the MIME type file.

Type: string

Default Value: zend_mime_types.ini

Available since version

zend_dserver.log_file

The location of the Zend Download Server (ZDS) log file

Type: string

Default Value: dserver.log

Available since version

zend_dserver.log_verbosity

The extension's log verbosity level. 1 - Fatal errors (ZDS goes down) <br> 2 - Errors (The currect request bails out<br> 3 - Warnings (not good, but continue)<br> 4 - Notice (important info)<br> 5 - Info (verbosity information)

Type: integer

Default Value: 2

Available since version

zend_dserver.min_file_size

The minimal file size that can be served via a ZDS process. Smaller files are served via Apache

Type: integer

Units: KBytes

Default Value: 64

Available since version

zend_dserver.nice

The ZDS process priority level. The lower the number, the higher the priority the process is given.

Type: integer

Default Value: 10

Available since version

zend_dserver.disable_byterange

Disables handling byte-range requests. All requests return an entire file

Type: boolean

Default Value: 0

Available since version

zend_dserver.etag_params

The file attributes that are taken as part of an etag.

Type: string

Available since version

zend_dserver.mmap_chunk

The size of the data chunks that are read from the file into the socket.

Type: integer

Units: KBytes

Default Value: 256

Available since version

zend_dserver.use_sendfile

Enable use of sendfile() backend. It can significantly improve performence

Type: boolean

Default Value: On

Available since version

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.