#21291 [Com]: make failure

2003-01-10 Thread g . tanzilli
 ID:   21291
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Servlet related
 Operating System: Linux Redhat 8
 PHP Version:  4.3.0
 New Comment:

Solved,
I sent a patch to php-dev mailing list,
with this and other fix for unix/linux.
please apply.


Previous Comments:


[2003-01-02 18:01:45] [EMAIL PROTECTED]

This may be the same issue affecting my use of the servlet within
tomcat. The JNI call to this servlet dll causes tomcat to crater. I
managed to get the release candidate to work correctly.



[2003-01-02 05:00:09] [EMAIL PROTECTED]

I see there is a problem during configure,
$(builddir) and $(srcdir) in sapi/servlet/Makefile.frag

are ignored in the final Makefile 

also seems that when confiring with --with-java and --with-servlet,
java got disabled.

Unfortunatelly I do not know enougth the new build system to propose a
patch



[2002-12-30 07:58:56] [EMAIL PROTECTED]

hi,
servlet SAPI do not compile.
I get this error:

/usr/local/src/php4-STABLE-200212301230/sapi/servlet/servlet.c: In
function `Java_net_php_servlet_startup':
/usr/local/src/php4-STABLE-200212301230/sapi/servlet/servlet.c:264:
warning: passing arg 2 of `php_module_startup' from incompatible
pointer type
make: *** No rule to make target `sapi/servlet/java.c', needed by
`sapi/servlet/java.lo'.  Stop.

thanks




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




#21166 [NEW]: make failure

2002-12-23 Thread g . tanzilli
From: [EMAIL PROTECTED]
Operating system: Linux Redhat 8
PHP version:  4.3.0RC4
PHP Bug Type: Compile Failure
Bug description:  make failure 

after configure:
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-pgsql --with-xml --with-xmlrpc --with-zlib

I had this error from make

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/php-4.3.0RC4/ext/mysql/libmysql/my_tempnam.c:103: the use
of `tempnam' is dangerous, better use `mkstemp'

-- 
Edit bug report at http://bugs.php.net/?id=21166&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21166&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21166&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21166&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21166&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21166&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21166&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21166&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21166&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21166&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21166&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21166&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21166&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21166&r=isapi




#21291 [NEW]: make failure

2002-12-30 Thread g . tanzilli
From: [EMAIL PROTECTED]
Operating system: Linux Redhat 8
PHP version:  4.3.0
PHP Bug Type: Servlet related
Bug description:  make failure 

hi,
servlet SAPI do not compile.
I get this error:

/usr/local/src/php4-STABLE-200212301230/sapi/servlet/servlet.c: In
function `Java_net_php_servlet_startup':
/usr/local/src/php4-STABLE-200212301230/sapi/servlet/servlet.c:264:
warning: passing arg 2 of `php_module_startup' from incompatible pointer
type
make: *** No rule to make target `sapi/servlet/java.c', needed by
`sapi/servlet/java.lo'.  Stop.

thanks
-- 
Edit bug report at http://bugs.php.net/?id=21291&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21291&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21291&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21291&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21291&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21291&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21291&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21291&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21291&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21291&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21291&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21291&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21291&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21291&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=21291&r=gnused




#16914 [Com]: Function zend_hash_index_update_or_next_insert crashes Tomcat.

2003-01-03 Thread g . tanzilli
 ID:   16914
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   No Feedback
 Bug Type: Servlet related
 Operating System: SuSe Linux 7.3
 PHP Version:  4.2.0
 New Comment:

Same problem with php-4.3.0 tomcat 4.1.18 sun jdk 1.4.1

php 4.3 do not compile with --with-servlet, I had to fix the makefile,
opened another bug few days ago (http://bugs.php.net/?id=21291&edit=2)


Previous Comments:


[2002-10-25 01:00:10] [EMAIL PROTECTED]

No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2002-10-09 11:30:51] [EMAIL PROTECTED]

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





[2002-08-29 14:10:53] [EMAIL PROTECTED]

Same on Linux 7.2
JVM 1.4.1
Tomcat 4.0.3

it seems something is definitively wrong with phpinfo()..
Always crashes the server with an 11 signal (SEGMENTATION VIOLATION)

Hope it will be checked ASAP 



[2002-04-29 14:48:53] [EMAIL PROTECTED]

An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 11 occurred at PC=0x4c5e00f8
Function name=zend_hash_index_update_or_next_insert
Library=/usr/local/lib/php/libphp4.so

Current Java thread:
at net.php.reflect.setResultFromObject(Native Method)
at net.php.reflect.setResult(reflect.java:105)
at net.php.servlet.readCookies(servlet.java:92)
at net.php.servlet.send(Native Method)
at net.php.servlet.service(servlet.java:188)
at net.php.servlet.service(servlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
at org.apache.tomcat.core.Handler.service(Handler.java)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java)

at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
at java.lang.Thread.run(Thread.java:479)

Dynamic libraries:
08048000-0804c000 r-xp  03:02 131867
/usr/local/jdk1.3.1/bin/i386/native_threads/java
0804c000-0804d000 rw-p 3000 03:02 131867
/usr/local/jdk1.3.1/bin/i386/native_threads/java
4000-40014000 r-xp  03:02 357650 /lib/ld-2.2.4.so
40014000-40015000 rw-p 00013000 03:02 357650 /lib/ld-2.2.4.so
40016000-40017000 r--p  03:02 601481
/usr/lib/locale/en_US/LC_IDENTIFICATION
40017000-40018000 r--p  03:02 650279
/usr/lib/locale/en_US/LC_MEASUREMENT
40018000-40019000 r--p  03:02 260134
/usr/lib/locale/en_US/LC_TELEPHONE
40019000-4001a000 r--p  03:02 260129
/usr/lib/locale/en_US/LC_ADDRESS
4001a000-4001b000 r--p  03:02 260133
/usr/lib/locale/en_US/LC_NAME
4001b000-4001c000 r--p  03:02 812834
/usr/lib/locale/en_US/LC_PAPER
4001c000-4001d000 r--p  03:02 406419
/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
4001d000-4001e000 r--p  03:02 650280
/usr/lib/locale/en_US/LC_MONETARY
4001e000-40024000 r--p  03:02 113833
/usr/lib/locale/en_US/LC_COLLATE
40024000-40025000 r--p  03:02 601482
/usr/lib/locale/en_US/LC_TIME
40025000-40026000 r--p  03:02 65067 
/usr/lib/locale/en_US/LC_NUMERIC
40026000-40028000 r--s  03:02 180491
/opt/jakarta/lib/jaxp.jar
40028000-40036000 r-xp  03:02 357672 /lib/libpthread.so.0
40036000-4003e000 rw-p d000 03:02 357672 /lib/libpthread.so.0
4003e000-40047000 r-xp  03:02 604049
/usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
40047000-40048000 rw-p 8000 03:02 604049
/usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
40048000-403c8000 r-xp  03:02 961678
/usr/local/jdk1.3.1/jre/lib/i386/server/libjvm.so
403c8000-4051d000 rw-p 0037f000 03:02 961678
/usr/local/jdk1.3.1/jre/lib/i386/server/libjvm.so
40536000-40538000 r-xp  03:02 357660 /lib/libdl.so.2
40538000-4053a000 rw-p 1000 03:02 357660 /lib/libdl.so.2
4053a000-40655000 r-xp  03:02 357656 /lib/libc.so.6

#16331 [Com]: Running phpinfo() kills Tomcat

2003-01-07 Thread g . tanzilli
 ID:   16331
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Servlet related
 Operating System: Windows 2000 SP2
 PHP Version:  4.1.2
 New Comment:

It still appen, 
in php4.3.0 and cvs from today (I'm on RedHat8 tomcat 4.1.18), 
after fixing the configure/make problem to generate phpsrvlt.jar,
tomcat die after phpinfo() or other function call, see different bug.
I sent the patch to fix the configure/make problem to php-dev


Previous Comments:


[2002-11-21 15:00:22] [EMAIL PROTECTED]

replicated on 
tomcat 4.0.3, jdk 1.4.0, php 4.2.3-win32, win2k

thanks -



[2002-08-11 01:48:13] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Or better yet, try a DEVELOPMENT version to see if this has been fixed
in CVS... that way we can hopefully get it squished by 4.3.0



[2002-07-11 03:28:29] [EMAIL PROTECTED]

Same on Redhat Linux 6.2 with IBM JDK 1.3.1.



[2002-05-24 02:37:04] [EMAIL PROTECTED]

Same problem on FreeBSD 4.1.5 with JDK 1.3.1. JVM crashes soon
after using servlet.



[2002-04-02 15:29:27] [EMAIL PROTECTED]

Anyone around looking into Servlet issues?



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

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




Bug #16289: url with cookie kill tomcat

2002-03-26 Thread g . tanzilli

From: [EMAIL PROTECTED]
Operating system: linux
PHP version:  4.1.2
PHP Bug Type: Servlet related
Bug description:  url with cookie kill tomcat

I tested the servlet interface with php 4.1.2/4.2rc1
and tomcat 4.0.1/jdk1.4 on linux redhat7.2.

Everityng work fine, also the pgsql extension, but 
When the php servlet get cookies from the browser tomcat terminate, in the
log I get error in the native method:SetResultFromObject called from
SetResult (reflect.java:105)


-- 
Edit bug report at http://bugs.php.net/?id=16289&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16289&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16289&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16289&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16289&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16289&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16289&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16289&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16289&r=submittedtwice




Bug #14624 Updated: is_link() fail with error if the link is not found

2002-03-27 Thread g . tanzilli

 ID:   14624
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Filesystem function related
 Operating System: Redhat Linux 7.2
 PHP Version:  4.1.0
 New Comment:

Still present in 4.1.2 and 4.2rc1!!!
please correct it.

It is annoyng to see the warning, 
is_link issue the warning if the file is not found.


Previous Comments:


[2001-12-20 10:59:11] [EMAIL PROTECTED]

Hi,
tested on the cvs-4.1 from 20 december 2001, not 4.1 release.


it should just return false, seems to be like the previous is_dir() bug
in 4.1 release.
bye





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