Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25984 - Mod_php is at version 4.3.2 and apache is at 2.0.47 According to PHP this setup is br0ken
Summary: Mod_php is at version 4.3.2 and apache is at 2.0.47 According to PHP this set...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-05 14:21 UTC by Marius Karthaus
Modified: 2003-08-06 15:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Karthaus 2003-08-05 14:21:25 UTC
Mod_php is at version 4.3.2 and apache is at 2.0.47 According to PHP this 
setup is br0ken. The recommended version for php is 4.3.1 for any apache prior 
to 2.0.49. The apache API has changed since 2.0.49 and php has been made to 
match this API. so the combination with the 2.0.47 API is not stable.

this is the way they put it on their site:

Note: Apache 2.0 SAPI-support started with PHP 4.2.0. PHP 4.2.3 works with 
Apache 2.0.39, don't use any other version of Apache with PHP 4.2.3. However, 
the recommended setup is to use PHP 4.3.0 or later with the most recent 
version of Apache2. 

All mentioned versions of PHP will work still with Apache 1.3.x.


Reproducible: Always
Steps to Reproduce:
1.use php4.3.1 for mod_php
2.go get coffee
3.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-08-05 21:17:06 UTC
> the recommended setup is to use PHP 4.3.0 or later with the most recent 
> version of Apache2.

how is using mod_php-4.3.2 and apache-2.0.47 not in line with that?

Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-05 21:42:40 UTC
2.0.4[79] > 2.0.39

And the last time the PHP page for Apache2 was updated was "Last updated: Fri, 30 May 2003".
Comment 3 Marius Karthaus 2003-08-06 06:29:56 UTC
http://www.php.net/install.apache2
the last update was on aug 2. And the line:

PHP 4.2.3 works with Apache 2.0.39, don't use any other version of Apache with PHP 4.2.3

seems like one that says it all. 

These versions result in an unstable combination that may work for most people. Why not put that in ~x86 and keep the stable branch in line with what people over @ php recommend. Btw don't take my word for it, ask over at #php they are the ones that larted me because i used 4.3.2+apache2.0.47 myself. they told me to downgrade and since i just happened to know that my setup was the same as the one gentoo uses by default i just thought i'd tell you bout it. 
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2003-08-06 08:06:57 UTC
Hi Marius, 
 
The line you're quoting is about PHP 4.2.3 (NOT 4.3.2) <-- i.e. an old version of 
PHP, and in fact the first version that included Apache 2 support.  It is this version 
of PHP which only works with Apache 2.0.39 (which is an old version of Apache 2). 
 
As the quote from the website says, the recommended combination is the latest 
Apache 2 + PHP 4.3.x - which is exactly what we have on Gentoo.  That's why it's 
the stable combination - because it *is* what the PHP folks recommend. 
 
I think whoever you've been talking to on #php has been messing you about.  
Ignore them.  Or send them to talk to us ;-) 
 
Best regards, 
Stu 
Comment 5 Donny Davies (RETIRED) gentoo-dev 2003-08-06 10:28:17 UTC
Marius,

You ignored my comment and didnt answer my question.  Why not give it a shot
then you'll see why this "bug report" is bogus.
Comment 6 Marius Karthaus 2003-08-06 15:34:57 UTC
O damn, i must be getting dislectic. sorry guys i misread the 4.2.3 <-> 4.3.2 thing. And Donny Davies i didn't ignore your comment acctualy my 2nd entry was directed at this. I just misread the versioning. sorry guys my bad /
Comment 7 SpanKY gentoo-dev 2003-08-06 15:42:43 UTC
no problem, we all have off days :)