#40677 [Sus->WFx]: PHP crash when calling Java
| From: | jani@php.net | Date: | Fri, 18 Jul 2008 00:19:44 +0000 |
| Subject: | #40677 [Sus->WFx]: PHP crash when calling Java | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126925@lists.php.net to get a copy of this message | ||
ID: 40677
Updated by: jani@php.net
Reported By: poon dot fung at comcast dot net
-Status: Suspended
+Status: Wont fix
Bug Type: Java related
Operating System: windows xp
PHP Version: 5.2.1
Assigned To: edink
Previous Comments:
------------------------------------------------------------------------
[2007-03-06 16:03:45] peter_jones_jr at yahoo dot com
Hi,
the documentation which comes with PHP clearly states that ext/java
only works with some older versions of PHP4. I don't think ext/java is
mentioned in the PHP manual page, at least not on debian.
Calling Java classes in-process is not possible unless you use a PHP
implementation written in pure Java. For the Zend PHP engine you need an
external Java process. I think this is what you mean with "Java
application server".
Peter
------------------------------------------------------------------------
[2007-03-05 17:26:38] poon dot fung at comcast dot net
I read in some discussions that PHP-Java Bridge is a replacement to PHP
Java integration method. However, PHP-Java Bridge documentation shows
only methods of calling from PHP to Java application server but not
calling Java classes in-process. I would like to be able to call Java
libraries from PHP.
If PHP Java integration were to be discontinued, manual page should be
updated. I spent quite a bit of time trying to figure out why the
integration did not work because there is no indication that it may not.
------------------------------------------------------------------------
[2007-03-05 16:00:22] edink@php.net
Short of deleting it from the CVS it is not possible atm.
Java extension is not maintained and probably does not work on any
platform.
------------------------------------------------------------------------
[2007-03-05 09:49:56] tony2001@php.net
Edin, I'd prefer the former.
------------------------------------------------------------------------
[2007-03-02 21:16:38] valid at email dot address
This crash happens when you add the following to your php.ini
extension=php_java.dll
The php_java.dll from http://pecl4win.php.net/ext.php/php_java.dll
and
the php_java.dll which is part of the official pecl for windows download
crash the php executable.
Either remove the php_java.dll from the official pecl4win download or
or fix this bug.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40677
--
Edit this bug report at http://bugs.php.net/?id=40677&edit=1