#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-13 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

I don't get how changing this line can help to fix the problem.
Imagine that you've build PHP with SOAP enabled and after that you've
additionally built session module.
Both of them would be available, but SOAP wouldn't know about session.

In FreeBSD all extensions are dinamically loaded, so the 
persistence session support cannot work anymore.
This is the weirdest way to build PHP I've seen, which creates a lot of
troubles for users and doesn't solve any problems.
I've already saw a lot of confusion from FreeBSD users that install PHP
and discover that none of the modules (that are usually enabled by
default) are there.


Previous Comments:


[2005-10-13 08:19:15] ale at FreeBSD dot org

I think the problem is this: in soap.c you changed all the following
rows

#if HAVE_PHP_SESSION

with

#if HAVE_PHP_SESSION  !defined(COMPILE_DL_SESSION)

In FreeBSD all extensions are dinamically loaded, so the persistence
session support cannot work anymore. Moreover, in FreeBSD, extensions
can use code provided by other shared extensions (like session.so in
this case), so this check is actually a limitation for us.



[2005-10-13 00:11:04] [EMAIL PROTECTED]

Actually sniper asked you to try the certain snapshot, not some
ports. Please do so.
I'm not asking to do 'make install', btw.
You can build it in your own directory and replace libphp5.so for 5
mins just to test it.
I can't reproduce it, so I suspect it's already fixed, but I need you
to comfirm it to be sure.



[2005-10-13 00:03:22] brent at jeneral dot com

FreeBSD's ports system uses patches to implement the products in it's
framework.  For some reason I cannot compile and integrate the
lastest version.



[2005-10-12 12:21:50] [EMAIL PROTECTED]

What patches are you talking about?
SOAP support requires only --enable-soap configure option.



[2005-10-12 09:42:13] brent at jeneral dot com

I do not have the right patches to sucessfully compile the latest
version on FreeBSD.  Does anyone out there have the right files or have
successfully done it?  Without the patches, it appears to compile;
however, the soap routines are not available.

As another reference point, all of my FreeBSD servers running 5.0.5
fail the soap test script.



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

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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-12 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

What patches are you talking about?
SOAP support requires only --enable-soap configure option.


Previous Comments:


[2005-10-12 09:42:13] brent at jeneral dot com

I do not have the right patches to sucessfully compile the latest
version on FreeBSD.  Does anyone out there have the right files or have
successfully done it?  Without the patches, it appears to compile;
however, the soap routines are not available.

As another reference point, all of my FreeBSD servers running 5.0.5
fail the soap test script.



[2005-10-10 11:35:42] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2005-10-10 09:49:24] brent at jeneral dot com

Still fails...If I have a working down-graded system and rebuild the
5.0.5 or latest php base package, it works.  But until I build the
php-soap extension based on either 5.0.5 or later, it fails.  Maybe the
php5-soap extension is bad?



[2005-10-06 13:33:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Can't reproduce both with 5.0.6-dev  5.1-dev.



[2005-10-06 01:51:13] brent at jeneral dot com

The whole test script:
http://www.jeneral.com/sessionTest.zip



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

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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-12 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

Actually sniper asked you to try the certain snapshot, not some
ports. Please do so.
I'm not asking to do 'make install', btw.
You can build it in your own directory and replace libphp5.so for 5
mins just to test it.
I can't reproduce it, so I suspect it's already fixed, but I need you
to comfirm it to be sure.


Previous Comments:


[2005-10-13 00:03:22] brent at jeneral dot com

FreeBSD's ports system uses patches to implement the products in it's
framework.  For some reason I cannot compile and integrate the
lastest version.



[2005-10-12 12:21:50] [EMAIL PROTECTED]

What patches are you talking about?
SOAP support requires only --enable-soap configure option.



[2005-10-12 09:42:13] brent at jeneral dot com

I do not have the right patches to sucessfully compile the latest
version on FreeBSD.  Does anyone out there have the right files or have
successfully done it?  Without the patches, it appears to compile;
however, the soap routines are not available.

As another reference point, all of my FreeBSD servers running 5.0.5
fail the soap test script.



[2005-10-10 11:35:42] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2005-10-10 09:49:24] brent at jeneral dot com

Still fails...If I have a working down-graded system and rebuild the
5.0.5 or latest php base package, it works.  But until I build the
php-soap extension based on either 5.0.5 or later, it fails.  Maybe the
php5-soap extension is bad?



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

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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-10 Thread sniper
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

Please try using this CVS snapshot:

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




Previous Comments:


[2005-10-10 09:49:24] brent at jeneral dot com

Still fails...If I have a working down-graded system and rebuild the
5.0.5 or latest php base package, it works.  But until I build the
php-soap extension based on either 5.0.5 or later, it fails.  Maybe the
php5-soap extension is bad?



[2005-10-06 13:33:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Can't reproduce both with 5.0.6-dev  5.1-dev.



[2005-10-06 01:51:13] brent at jeneral dot com

The whole test script:
http://www.jeneral.com/sessionTest.zip



[2005-10-06 01:06:28] [EMAIL PROTECTED]

Just put it somewhere and paste the link here.



[2005-10-06 01:05:30] brent at jeneral dot com

The bug web interface gives me a Please do not SPAM our bug system
when adding the .wsdl file contents.  I sent it to your email.  Please
let me know if that's a valid email.



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

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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-06 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Can't reproduce both with 5.0.6-dev  5.1-dev.


Previous Comments:


[2005-10-06 01:51:13] brent at jeneral dot com

The whole test script:
http://www.jeneral.com/sessionTest.zip



[2005-10-06 01:06:28] [EMAIL PROTECTED]

Just put it somewhere and paste the link here.



[2005-10-06 01:05:30] brent at jeneral dot com

The bug web interface gives me a Please do not SPAM our bug system
when adding the .wsdl file contents.  I sent it to your email.  Please
let me know if that's a valid email.



[2005-10-06 00:47:45] [EMAIL PROTECTED]

Please provide the .wsdl file too.



[2005-10-06 00:35:20] brent at jeneral dot com

Description:

Soap persistent sessions (SOAP_PERSISTENCE_SESSION) no longer works in
version 5.05 (php5-soap-5.0.5). Downgrading to previous 5.0.4_2 works.

I created a test script that also verified the bug below:

Reproduce code:
---
Server Code:
$soap = new SoapServer(sessionTestServer.wsdl);
$soap-setClass(sessionTestServer);
$soap-setPersistence(SOAP_PERSISTENCE_SESSION);
$soap-handle();

Class:
class sessionTestServer {
private $count = 0;
public function count() {
$this-count++;
return $this-count;
}
}

Client:
echo brCount: .$client-count();// Should be 1
echo brCount: .$client-count();// Should be 2
echo brCount: .$client-count();// Should be 3

Expected result:

Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.

Actual result:
--
Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.





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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-05 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

Please provide the .wsdl file too.


Previous Comments:


[2005-10-06 00:35:20] brent at jeneral dot com

Description:

Soap persistent sessions (SOAP_PERSISTENCE_SESSION) no longer works in
version 5.05 (php5-soap-5.0.5). Downgrading to previous 5.0.4_2 works.

I created a test script that also verified the bug below:

Reproduce code:
---
Server Code:
$soap = new SoapServer(sessionTestServer.wsdl);
$soap-setClass(sessionTestServer);
$soap-setPersistence(SOAP_PERSISTENCE_SESSION);
$soap-handle();

Class:
class sessionTestServer {
private $count = 0;
public function count() {
$this-count++;
return $this-count;
}
}

Client:
echo brCount: .$client-count();// Should be 1
echo brCount: .$client-count();// Should be 2
echo brCount: .$client-count();// Should be 3

Expected result:

Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.

Actual result:
--
Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.





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


#34746 [Opn-Fbk]: SOAP_PERSISTENCE_SESSION no longer works

2005-10-05 Thread tony2001
 ID:   34746
 Updated by:   [EMAIL PROTECTED]
 Reported By:  brent at jeneral dot com
-Status:   Open
+Status:   Feedback
 Bug Type: SOAP related
 Operating System: Freebsd 5.4
 PHP Version:  5.0.5
 New Comment:

Just put it somewhere and paste the link here.


Previous Comments:


[2005-10-06 01:05:30] brent at jeneral dot com

The bug web interface gives me a Please do not SPAM our bug system
when adding the .wsdl file contents.  I sent it to your email.  Please
let me know if that's a valid email.



[2005-10-06 00:47:45] [EMAIL PROTECTED]

Please provide the .wsdl file too.



[2005-10-06 00:35:20] brent at jeneral dot com

Description:

Soap persistent sessions (SOAP_PERSISTENCE_SESSION) no longer works in
version 5.05 (php5-soap-5.0.5). Downgrading to previous 5.0.4_2 works.

I created a test script that also verified the bug below:

Reproduce code:
---
Server Code:
$soap = new SoapServer(sessionTestServer.wsdl);
$soap-setClass(sessionTestServer);
$soap-setPersistence(SOAP_PERSISTENCE_SESSION);
$soap-handle();

Class:
class sessionTestServer {
private $count = 0;
public function count() {
$this-count++;
return $this-count;
}
}

Client:
echo brCount: .$client-count();// Should be 1
echo brCount: .$client-count();// Should be 2
echo brCount: .$client-count();// Should be 3

Expected result:

Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.

Actual result:
--
Should be 1, 2, 3 but is 1, 1, 1. Session variables are not persistent.





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