Menu

[r785]: / branches / Release-2-0-8 / php-java-bridge / java.ini  Maximize  Restore  History

Download this file

57 lines (41 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
;; -*- mode: Scheme; tab-width:4 -*-
;; Copy this file to the php ini directory (usually /etc/php.d) or
;; copy its content to the global php.ini (usually /etc/php.ini or
;; /usr/local/lib/php.ini).
;;
;; Use the java.socketname, java.hosts and java.servlet to
;; control the operation mode:
;;
;; 1) java.socketname and java.hosts off: local backend which
;; starts automatically.
;;
;; 2) java.socketname set: local system backend started by the
;; php-java-bridge service script.
;;
;; 3) java.hosts set: external backend(s) on a different server(s).
;;
;; 4) java.hosts and java.servlet set: external backend(s)
;; deployed in a j2ee application server or servlet engine.
extension = java.so
[java]
;; log level between 0 (log off) and 4 (log debug). The default "log
;; file" is the standard output. The default level is 2.
java.log_level = 2
java.log_file = /var/log/php-java-bridge.log
;; Adjust the following options if the VM or its location have
;; changed since you ran the ./configure command.
;java.java_home = /usr/java/jdk1.5.0
;java.java = /usr/java/jdk1.5.0/bin/java
;; If you want to start the backend automatically as a sub-component
;; of your HTTP server, comment out _all the following options_.
;; If you don't have a servlet engine, double-click on JavaBridge.jar
;; or use the php-java-bridge service script to start and stop the
;; backend as a system service. Please see the RedHat RPM download
;; for an example how to start java as a system service.
java.socketname = /var/run/.php-java-bridge_socket
;; If you have a servlet engine or an application server, deploy
;; JavaBridge.war and re-start the servlet engine or the application
;; server. Comment out the "java.socketname" option and uncomment
;; the following options.
;java.hosts = "127.0.0.1:8080"
;java.servlet = On
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.