Menu

Tree [r625] / trunk / php-java-bridge /
 History

HTTPS access


File Date Author Commit
 debian 2008-01-29 andremachado [r625] Packaging improvements and corrections. Adjustm...
 documentation 2007-09-30 jost_boekemeier [r585] Release-4-3-0
 examples 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 php_java_lib 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 security 2008-01-06 jost_boekemeier [r608] Release-5-0-0
 server 2008-01-25 jost_boekemeier [r622] *** empty log message ***
 tests.m4 2008-01-06 jost_boekemeier [r609] Release-5-0-0
 tests.mono+net 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 tests.php5 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 tests.quercus 2007-07-09 jost_boekemeier [r556] Release-4-1-8
 unsupported 2008-01-06 jost_boekemeier [r609] Release-5-0-0
 COPYING 2006-08-13 jost2345 [r455] Release-3-1-8devel
 CREDITS 2007-09-30 jost_boekemeier [r585] Release-4-3-0
 CVS_RELEASE.sh 2008-01-06 jost_boekemeier [r608] Release-5-0-0
 ChangeLog 2007-12-09 jost_boekemeier [r596] Release-4-3-2
 FAQ.html 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 INSTALL 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 INSTALL.J2EE 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 INSTALL.J2SE 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 INSTALL.LINUX 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 INSTALL.STANDALONE 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 Makefile.frag 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 NEWS 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 PROTOCOL.TXT 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 README 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 README.GNU_JAVA 2006-12-09 jost2345 [r480] Release-3-2-1
 README.MONO+NET 2006-11-25 jost2345 [r468] Release-3-2-1
 RPM-GPG-KEY 2006-04-12 jost2345 [r417] Release-3.0.8
 VERSION 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 bind.c 2007-07-09 jost_boekemeier [r556] Release-4-1-8
 config.m4 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 init_cfg.c.in 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 init_cfg.h.in 2008-01-06 jost_boekemeier [r608] Release-5-0-0
 install.sh.in 2007-09-30 jost_boekemeier [r585] Release-4-3-0
 java-servlet.ini 2006-08-08 jost2345 [r454] Release-3-1-7
 java.c 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 java.ini 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 java_bridge.h 2007-03-09 andremachado [r489] Files update 3.2.2 to 4.0.1. Extracted from the...
 mono.ini 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 parser.c 2007-03-09 andremachado [r489] Files update 3.2.2 to 4.0.1. Extracted from the...
 parser.h 2007-03-09 andremachado [r489] Files update 3.2.2 to 4.0.1. Extracted from the...
 php-java-bridge.spec 2008-01-21 jost_boekemeier [r612] Release-5-0-1
 php_java.h 2007-07-09 jost_boekemeier [r556] Release-4-1-8
 php_wrapper.h 2007-03-09 andremachado [r489] Files update 3.2.2 to 4.0.1. Extracted from the...
 protocol.h 2008-01-06 jost_boekemeier [r608] Release-5-0-0
 test.bat 2007-09-30 jost_boekemeier [r585] Release-4-3-0
 test.php 2007-12-28 jost_boekemeier [r605] Release-4-3-3
 test.php4 2007-09-30 jost_boekemeier [r585] Release-4-3-0
 test.sh 2007-09-30 jost_boekemeier [r585] Release-4-3-0

Read Me

Build and execution instructions:
---------------------------------
  NOTE: If you have Security Enhanced Linux, you must update the policy
  and tag the files with the correct SEL contexts, please see the README.

  Install mono 1.1.8 or above, if not already installed.

  In the directory php-java-bridge-p.x.y type:

          mono --version       # 1.0.6 or above.
          gcj --version        # 3.2.3 or above.
          apachectl -version   # Apache 1.3 or above.
          php-config --version # PHP 4.3.4 or above.
          make null --version  # GNU make

          phpize && 
          ./configure --with-mono=/usr/bin/mono &&
          make &&
          su -c "make install"

  If your administrator allows you to dynamically load extensions, you
  can now test the extension by invoking the test.php with the 
  command: php ./tests.mono+net/test.php.

  Please see the output of ./configure --help=recursive for further
  configure options.

------------------------------------
   Permanently activate the module
   -------------------------------

  To permanently activate the extension for all users please add the
  following lines to the php.ini or add a file mono.ini to the
  directory that contains the PHP module descriptions (usually
  /etc/php.d/) with the following content:

          extension = mono.so
          [mono]
          mono.log_level="3"
          mono.log_file="/var/log/php-mono-bridge.log"
          mono.socketname="9167"

  Re-start the web server, for example with the command:

          apachectl restart


  You can start the bridge as a sub-process of apache. Disable
  mono.socketname, and mono.hosts. For example:

          extension = mono.so
          [mono]
          mono.log_level="3"
          mono.log_file="/var/log/php-mono-bridge.log"

  Re-start apache and check if apache has started mono as a
  sub-process.  For example with the commands:

          apachectl restart
          pstree | fgrep httpd


  Check the status:

          echo "<?php phpinfo()?>" | php | fgrep "mono status"

  Other configuration options which should have been set up by the
  configure script but which can be changed later are:

          mono.socketname= <local TCP communication channel >
          mono.hosts     = <add. bridge hosts e.g.: server1:9167;server2:9168>

  Please first look at the output of phpinfo() to see the original
  values.  

---------------------------------------------
  Starting the PHP/Mono Bridge automatically
  ------------------------------------------

  When the mono.socketname and mono.hosts options are not set, the web
  server will start or re-start the mono back-end automatically as a sub
  component when the HTTP service is started or re-started.

------------------------------------
  Mailing List
  ------------

  Please report bugs/problems to the mailing list:

    php-java-bridge-users@lists.sourceforge.net

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.