Zend Java Bridge - Configuration Directives

This topic lists all the configuration directives for Zend Java Bridge.

Configuration Directives Summary

The table below is a summary of all the Zend Java Bridge configuration directives, and displays the directive name, its default value, and a description:

Directive

Default Value

Description

zend_jbridge.server_port

10001

The TCP port on which the server is listening

zend_jbridge.ints_are_longs

0

Converts PHP integers into java.lang.Long integers, primarily for 64-bit machines

zend_jbridge.encoding

UTF-8

Sets the encoding type that is passed from PHP to Java

zend_jbridge.use_java_objects

0

Uses basic Java objects and does not attempt to convert them to primitives

zend_jbridge.server_ip

The TCP ip on which the server is listening

Configuration Directives Details

The list below contains information for all the available configuration directives for Zend Java Bridge: their description, type, units, default value, modification scope, and the Zend Server version they became available in.

zend_jbridge.server_port

Default is 10001. Must be the same as the server's zend.javamw.port

Default Value: 10001

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_jbridge.ints_are_longs

Translates PHP integer values to java.lang.Long integers (64-bit) instead of java.lang.Integer integers (32-bit). The default setting is off

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_ALL

Available Since Version: 4.0

zend_jbridge.encoding

Sets the encoding type that is passed from PHP to Java

Default Value: UTF-8

Type: string

Modification Scope: ZEND_INI_ALL

Available Since Version: 4.0

zend_jbridge.use_java_objects

When set to 0, preserves the current implementation (which converts basic Java objects to primitives (e.g., java.long.Short to short).
When set to 1 for the Java Bridge, returns Java objects and does not convert them to primitives

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_ALL

Available Since Version: 4.0

zend_jbridge.server_ip

Default is localhost. Must be the same as the server's zend.javamw.port

Default Value:

Type: string

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.1