httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43419] New: - PHP 5.2.4 buit against Apache 2.2.6 => 302 rather than 200
Date Tue, 18 Sep 2007 14:25:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43419>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43419

           Summary: PHP 5.2.4 buit against Apache 2.2.6 => 302 rather than
                    200
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@transpect.com


[This has been filed at bugs.php.net as #42634, but buckpassing gatekeeper Jani
there insists it's an Apache not a PHP bug. I also wrote this up on Apache Users
on 9/11 and following.]

In a nutshell, PHP 5.2.(3|4) built against Apache 2.2.6, but not 2.2.4, results
in Apache serving 302 (redirect) rather than the page content to every page
request, PHP or not, on a current Gentoo x86 system:

PHP         Built Against    Run With    Result

5.2.3       Apache 2.2.4     2.2.4       works
5.2.3       Apache 2.2.4     2.2.6       works
5.2.3       Apache 2.2.6     2.2.6       302
5.2.4       Apache 2.2.4     2.2.4       works
5.2.4       Apache 2.2.4     2.2.6       works
5.2.4       Apache 2.2.6     2.2.6       302

So there appears to be something about what PHP 5.2.(3|4) includes from
Apache 2.2.6, but not Apache 2.2.4, that results in a PHP module which
causes Apache to serve 302s rather than pages to every request. The only reply I
got on Apache Users says this does not show up on Solaris.

The build flags used in each case are:

HTTPD
./configure --enable-so --enable-ssl --enable-rewrite
PHP
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --disable-cgi

There are no errors showing in starting Apache or in the logs. But pages get
served empty, and the logs show "302" as the response rather than "200."
Currently I have a PHP 5.2.4 module that was built against Apache 2.2.4 running
with Apache 2.2.6 without any error. But if I load the PHP 5.2.4 module as it
builds against Apache 2.2.6 with Apache 2.2.6, only 302's are served. Could this
result from an API bug, or a change that PHP hasn't kept up with, or ...?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message