[PHP-DEV] Bug #11706 Updated: POSTs to CGI scripts on Apache 1.3.20 server fail

2001-07-23 Thread kalowsky

ID: 11706
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Apache related
Operating System: Solaris 7 Sparc 64-Bit
PHP Version: 4.0.6
New Comment:

no user feedback.  if this bug is still valid please reopen it.

Previous Comments:


[2001-06-27 09:25:19] [EMAIL PROTECTED]

I can not reproduce this. POST works just fine for me. 
I have also mod_perl (compiled as DSO) and PHP 4.0.6 compiled with a little more 
options than you.

Is there anything in your log files?
You could also try changing the load order of the DSO's.

--Jani





[2001-06-26 14:19:20] [EMAIL PROTECTED]

We recently upgraded our Apache server from 1.3.12 to
1.3.20.  In the process, we also upgraded to mod_perl 1.25
and decided to upgrade PHP from version 3 to version 4.0.6.
After compiling Apache with DSO support, I installed the new
server with the modules. We immediately noticed that every
CGI script (Perl, C compiled, etc) that received a POST
failed after the upgrade.

To test, I created a simple HTML form which posted to the
following Perl script:

* START test.pl *
#!/usr/bin/perl -w

use strict;

print Content-Type: text/html; charset=ISO-8859-1\n\n;

print HTMLBODY\n;

while (my $elem = STDIN)
{
  print $elem . \n;
}

print /BODY/HTML\n;
* END test.pl *

When tested on an older server, we see:

HTMLBODY
recipient=bweldon%40georgefox.edusubject=brad-testFirst_Name=asdfsubmit=submit
/HTML/BODY

When tested on the new server, we see:

HTMLBODY
/HTML/BODY

However, if I comment out from our apache httpd.conf:

LoadModule php4_modulelibexec/libphp4.so

the server starts working correctly (with the traditional
behavior for our perl and C compiled CGI scripts). This is a
show-stopper! Please advise on how to fix! Thank you in
advance!

PHP 4.0.6 compiled with:

./configure \
--prefix=/opt/php4 \
--with-apxs=/opt/apache-ssl/bin/apxs \
--with-ldap=/opt/ldap \
--with-mysql=/opt/mysql \
--enable-ftp \
--with-openssl=/opt/openssl \
--with-db2=/opt/BerkeleyDB \
--with-snmp=/opt/ucd-snmp \
--enable-ucd-snmp-hack \
--with-mm=/opt/mm \
--with-sybase=/opt/sybase/openclient \
--without-gdbm \
--enable-sockets





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11706 Updated: POSTs to CGI scripts on Apache 1.3.20 server fail

2001-06-27 Thread sniper

ID: 11706
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Apache related
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

I can not reproduce this. POST works just fine for me. 
I have also mod_perl (compiled as DSO) and PHP 4.0.6 compiled with a little more 
options than you.

Is there anything in your log files?
You could also try changing the load order of the DSO's.

--Jani



Previous Comments:
---

[2001-06-26 14:19:20] [EMAIL PROTECTED]
We recently upgraded our Apache server from 1.3.12 to
1.3.20.  In the process, we also upgraded to mod_perl 1.25
and decided to upgrade PHP from version 3 to version 4.0.6.
After compiling Apache with DSO support, I installed the new
server with the modules. We immediately noticed that every
CGI script (Perl, C compiled, etc) that received a POST
failed after the upgrade.

To test, I created a simple HTML form which posted to the
following Perl script:

* START test.pl *
#!/usr/bin/perl -w

use strict;

print Content-Type: text/html; charset=ISO-8859-1nn;

print HTMLBODYn;

while (my $elem = STDIN)
{
  print $elem . n;
}

print /BODY/HTMLn;
* END test.pl *

When tested on an older server, we see:

HTMLBODY
recipient=bweldon%40georgefox.edusubject=brad-testFirst_Name=asdfsubmit=submit
/HTML/BODY

When tested on the new server, we see:

HTMLBODY
/HTML/BODY

However, if I comment out from our apache httpd.conf:

LoadModule php4_modulelibexec/libphp4.so

the server starts working correctly (with the traditional
behavior for our perl and C compiled CGI scripts). This is a
show-stopper! Please advise on how to fix! Thank you in
advance!

PHP 4.0.6 compiled with:

./configure 
--prefix=/opt/php4 
--with-apxs=/opt/apache-ssl/bin/apxs 
--with-ldap=/opt/ldap 
--with-mysql=/opt/mysql 
--enable-ftp 
--with-openssl=/opt/openssl 
--with-db2=/opt/BerkeleyDB 
--with-snmp=/opt/ucd-snmp 
--enable-ucd-snmp-hack 
--with-mm=/opt/mm 
--with-sybase=/opt/sybase/openclient 
--without-gdbm 
--enable-sockets

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11706edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]