From: <php...@li...> - 2007-04-16 12:45:37
|
It seems not fit FreeBSD when i use echo "<?php dl('java.so'); phpinfo() ?>" | php -n > result.txt > it show me: > Segmentation fault (core dumped) So i have to rebuild, comand like pre mail. when finish "sh install.sh" , i find : Generate PHP classes from standard Java classes and install them in the /usr/local/share/pear directory? convert java libraries (yes/no): Exception in thread "main" java.lang.NoClassDefFoundError: php/java/bridge/JavaBridge cp: java/*.php: No such file or directory "Makefile", line 8: Could not find /usr/share/selinux//include/Makefile make: fatal errors encountered -- cannot continue install.sh: /usr/sbin/semodule: not found install.sh: /usr/bin/chcon: not found install.sh: /usr/bin/chcon: not found PHP/Java Bridge installed. Now type "/usr/local/bin/php test.php" to check the installation. bridge i today download. Is it ok? 2007/4/16, php...@li... < php...@li...>: > > Hi, > > > > Error: The PHP/Java Bridge back-end is not running. > > Have you started the back end? If your php.ini file > dosn't contain any java related entries (which seems > to be the case), the bridge automatically starts a > local back end. You can find the command in the > result of the phpinfo() command: > > echo "<?php dl('java.so'); phpinfo() ?>" | php -n > > result.txt > > cat result.html | fgrep "java command" > > Please take the java command obtained from the > phpinfo() and paste it into a command shell (xterm). > > The command should display the reason for the failure, > probably some freebsd java/jdk issue. > > > In any case, we recommend to use the J2EE binary on > freeBSD, or to use a modern operating system with a > decent TCP socket implementation, for example Windows, > Linux or Solaris. > > > Regards, > Jost Boekemeier > > > > __________________________________ Kennt man wirklich jeden =FCber= 3 > Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > --=20 regards jl |