ID:               18939
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Servlet related
 Operating System: Windows 2000 Pro SP2
 PHP Version:      4.2.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2002-10-28 06:37:51] [EMAIL PROTECTED]

RH 7.2 Linux 2.4.7.10
PHP 4.2.3
TOMCAT4.1.12
COCOON2.0.3
JSDK1.4.1

It seems to work but .....
I Am enable to run the JAVA extension or PHP as  servlet correctly, for
the last test of PHP I try to work with PHP as a servlet. It seems
there is a problem with the send () native method of PHP :
(this call is created inside the servlet.java class from
php.../sapi/servlet/ ) => 
Public native send(string requestMethod, String QueryString, String
pathInfo, String PathTranslated, String contentType, int contentLength,
String authUser, boolean display_sourc_mode).

As developed in the the bug id : 16402, I've also place libphp4.so 
inside /usr/java/j2sdk1.4.1/jre/lib with the related correction to the
LD_LIBRARY_PATH. I understand that JAVA waiting for a php4.so, but it
start to work only through a soft link =>
ln -s libphp4.so php4.so

if  I rename directly libphp4.so as php4.so it does not find any php4
in library.java.path

java.lang.UnsatisfiedLinkError: no php4 in java.library.path 

With a soft link , It seems to work  with the following file 

<?php
echo "PHP AS A SERVLET";
$a=2.0*5;
echo $a;
?>
It's OK it works... several time, no problem
on the other hand if I try :
<?php
phpinfo();
?>
The Virtual machine crashes each time.... With the the message than the
exception was detected in the native code outside the VM
unexpected Signal: 11 occured at PC=0x4EA8A5BF
Function=zend_hash_index_update_or_next_insert+0x3B
library=......../i386/libphp4.so
Is it a bug in the virtual machine ? I'm circumspect about that ! The
ouput is not a well-formed XML tree  ?  But I don't know
Marcel

------------------------------------------------------------------------

[2002-08-17 17:58:36] [EMAIL PROTECTED]

Just marking as "Open" again...

------------------------------------------------------------------------

[2002-08-17 11:46:43] [EMAIL PROTECTED]

The log file contains *exactly* the same information I pasted in the
original submission.  I would not think Resin per se is the problem, as
I managed to see the output of 
<?php phpinfo(); ?> with it.  From my experience, a crash in native
code like this one can only result from a bug in the native code or
possibly a bug in the JVM.

------------------------------------------------------------------------

[2002-08-16 12:47:40] [EMAIL PROTECTED]

The microsoft page does not exist, but I am running Win2k IIS/PHP-4.2.2
here, and have not seen this issue.  I consider that bogus.


As for the initial report running as a servlet, I haven't any
experience with this webserver... nor do I know if PHP really even
works with it (non-documented).  Can you place the error message from
hs_err_pid1892.log in the bug report though as well?

------------------------------------------------------------------------

[2002-08-16 11:21:20] [EMAIL PROTECTED]

I have also a related problem.
I'm usign Windows 2000 Server SP2 (All hotfixes).
The application is SquirrelMail version 1.2.7.

The server runs OK for a while, until, it doesn't respond. And the
server log show:

The HTTP server encountered an unhandled exception while processing the
ISAPI Application '
php4ts!zend_strndup + 0x2B
 + 0xA05C16DC
'. 
For additional information specific to this message please visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.

------------------------------------------------------------------------

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/18939

-- 
Edit this bug report at http://bugs.php.net/?id=18939&edit=1

Reply via email to