Re: [PHP-DEV] Java extension fixes

2002-12-05 Thread Tony J. White

On Wed, 4 Dec 2002, Ray Hunter wrote:
 Will this fix the errors that occur with running PHP as a servlet in
 tomcat?

Basically, if you were using ini_set() anywhere, or using .htaccess files to
change any php settings, this patch should prevent errors/crashing.

-Tony


 --
 Ray

 On Wed, 2002-12-04 at 01:20, Sebastian Bergmann wrote:
  Tony J. White wrote:
   Can someone please add this to CVS or should I contact Sam Ruby (the
   orignal author) to do it?
 
Committed,
  Sebastian
 
  --
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
 
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/


 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-12-04 Thread Sebastian Bergmann
Tony J. White wrote:
 Can someone please add this to CVS or should I contact Sam Ruby (the
 orignal author) to do it?

  Committed,
Sebastian

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-12-04 Thread Ray Hunter
Will this fix the errors that occur with running PHP as a servlet in
tomcat?

--
Ray

On Wed, 2002-12-04 at 01:20, Sebastian Bergmann wrote:
 Tony J. White wrote:
  Can someone please add this to CVS or should I contact Sam Ruby (the
  orignal author) to do it?
 
   Committed,
 Sebastian
 
 -- 
   Sebastian Bergmann
   http://sebastian-bergmann.de/ http://phpOpenTracker.de/
 
   Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-12-04 Thread Sebastian Bergmann
Ray Hunter wrote:
 Will this fix the errors that occur with running PHP as a servlet in
 tomcat?

  Can't tell. I have no Tomcat environment installed at the moment.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-11-25 Thread Dan Kalowsky
Comments on the patch.

Don't redefine DL_ERROR, this should already be  defined by the ZEND 
engine, but just check to make sure ;)

All of your build problems are known problems.  If you can fix them, 
excellent!  Just wondering if this has been tested against windows 
where the most prevalent errors seem to be the improper 
loading/unloading of the JVM.


On Monday, November 25, 2002, at 01:00 AM, Tony J. White wrote:


I'm made a stability fix to the PHP Java extension.  A full 
description of the
changes as well as the updated java.c file (and patch) can be found 
here:

http://tjw.org/php_java/

Can someone please add this to CVS or should I contact Sam Ruby (the 
orignal
author) to do it?

-Tony

--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php

---
Dan KalowskyMomma take this badge offa me,
http://www.deadmime.org/~dankI can't use it anymore.
[EMAIL PROTECTED]- Knockin on Heavens Door,
[EMAIL PROTECTED]Bob Dylan


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-11-25 Thread Tony J. White

I think the reason DL_ERROR is defined in java.c for win32 platforms is that
there is no dlerror() function for win32.  I'm only guessing because I have
no win32 platform to test on.

On unix platforms, DL_ERROR is defined in zend.h as the function name for the
dlerror() equivalent.

Can someone verify that there is a dlerror() function for win32?  Here is the
current code from java.c

#ifdef PHP_WIN32
#include win32/winutil.h
#define DL_ERROR php_win_err
#endif

-Tony


On Mon, 25 Nov 2002, Dan Kalowsky wrote:

 Comments on the patch.

 Don't redefine DL_ERROR, this should already be  defined by the ZEND
 engine, but just check to make sure ;)

 All of your build problems are known problems.  If you can fix them,
 excellent!  Just wondering if this has been tested against windows
 where the most prevalent errors seem to be the improper
 loading/unloading of the JVM.


 On Monday, November 25, 2002, at 01:00 AM, Tony J. White wrote:

 
  I'm made a stability fix to the PHP Java extension.  A full
  description of the
  changes as well as the updated java.c file (and patch) can be found
  here:
 
  http://tjw.org/php_java/
 
  Can someone please add this to CVS or should I contact Sam Ruby (the
  orignal
  author) to do it?
 
  -Tony
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
 
  ---
 Dan KalowskyMomma take this badge offa me,
 http://www.deadmime.org/~dankI can't use it anymore.
 [EMAIL PROTECTED]- Knockin on Heavens Door,
 [EMAIL PROTECTED]Bob Dylan


 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Java extension fixes

2002-11-24 Thread Tony J . White

I'm made a stability fix to the PHP Java extension.  A full description of the
changes as well as the updated java.c file (and patch) can be found here:

http://tjw.org/php_java/

Can someone please add this to CVS or should I contact Sam Ruby (the orignal 
author) to do it?

-Tony

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Java extension fixes

2002-11-24 Thread Sebastian Bergmann
Tony J. White wrote:
 I'm made a stability fix to the PHP Java extension. A full description
 of the changes as well as the updated java.c file (and patch) can be
 found here:

 http://tjw.org/php_java/

  Good to know that someone has the knowledge and the time to look after
  this abandoned extension.

 Can someone please add this to CVS

  As Rasmus already pointed out, the best way would be to get yourself a
  CVS account and commit your changes yourself.

 should I contact Sam Ruby (the orignal author) to do it?

  Good luck :-)

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php