| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2001-06-27 09:25 UTC] sniper@php.net
  [2001-07-23 11:43 UTC] kalowsky@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 12:00:01 2025 UTC | 
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 "<HTML><BODY>\n"; while (my $elem = <STDIN>) { print $elem . "\n"; } print "</BODY></HTML>\n"; ***** END test.pl ***** When tested on an older server, we see: <HTML><BODY> recipient=bweldon%40georgefox.edu&subject=brad-test&First_Name=asdf&submit=submit </HTML></BODY> When tested on the new server, we see: <HTML><BODY> </HTML></BODY> However, if I comment out from our apache httpd.conf: LoadModule php4_module libexec/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