httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Whit Blauvelt <w...@transpect.com>
Subject [users@httpd] Re: PHP 5.2.4 with Apache 2.2.6 => 302 rather than 200?
Date Thu, 13 Sep 2007 15:47:53 GMT
On Thu, Sep 13, 2007 at 10:26:12AM +0200, Laurent FAILLIE wrote:

> When I spoke about configuration, I means system
> configuration in general, not only Apache's one.

Hi Laurent,

You may well be right about "system configuration in general." Still, the
question is "What?" I've now confirmed that PHP 5.2.3 built against Apache
2.2.6 also produces an Apache/PHP that serves 302s rather than pages. So:

PHP         Built Against    Run With    Result

5.2.3       Apache 2.4.4     2.4.4       works
5.2.3       Apache 2.4.4     2.4.6       works
5.2.3       Apache 2.4.6     2.4.6       302
5.2.4       Apache 2.4.4     2.4.4       works
5.2.4       Apache 2.4.4     2.4.6       works
5.2.4       Apache 2.4.6     2.4.6       302

So there appears to be something about what PHP 5.2.(3|4) includes from
Apache 2.4.6, but not Apache 2.4.4, that results in a PHP module which
causes Apache to serve 302s rather than pages to every request. And your
experience narrows this down at least to a Linux issue, perhaps only a
Gentoo Linux issue, or perhaps only the specific configuration of Gentoo I'm
running - although in most respects it's a fairly standard Gentoo, with
current ebuilds for everything except Apache & PHP (since Gentoo's current
approach to Apache is, IMHO, a mess).

I've got a bug filed with php.net, since they're probably the most motivated
to help with this - although the bug is more specific to Apache version than
PHP version. If we can track it back to something about Gentoo, I'll file a
bug there. Since I'm not using Gentoo's Apache or PHP ebuilds, there's
nothing really to file it against at this point.

Whit

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message