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 Java Bridge - Configuration Directives

Zend Java Bridge - Configuration Directives

Configuration Directives Summary

Directive Type Modification Scope Description
zend_jbridge.server_port integer PHP_INI_SYSTEM The TCP port on which the server is listening
zend_jbridge.ints_are_longs boolean PHP_INI_ALL Converts PHP integers into java.lang.Long integers, primarily for 64-bit machines
zend_jbridge.encoding string PHP_INI_ALL Sets the encoding type that is passed from PHP to Java
zend_jbridge.use_java_objects boolean PHP_INI_ALL Uses basic Java objects and does not attempt to convert them to primitives

Configuration Directive Details

zend_jbridge.server_port

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

Type: integer

Default Value: 10001

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

Type: boolean

Default Value: 0

Available since version 4.0

zend_jbridge.encoding

Sets the encoding type that is passed from PHP to Java

Type: string

Default Value: UTF-8

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). <br> When set to 1 for the Java Bridge, returns Java objects and does not convert them to primitives

Type: boolean

Default Value: 0

Available since version 4.0

 

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