Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22504 - mod_php ebuild installation instructions are incorrect
Summary: mod_php ebuild installation instructions are incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 22883 22985 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-09 13:08 UTC by Stephen
Modified: 2003-06-30 03:01 UTC (History)
2 users (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 Stephen 2003-06-09 13:08:16 UTC
the installation instructions at the end of mod_php emerge says to add "-D PHP".
The correct syntax is "-D PHP4". But to even go further, it would need to state
that /etc/init.d/apache needs to have "-D PHP4" added to APACHE_OPTS (which is
missing from the init file, I had to add it).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-09 18:59:03 UTC
no, you are mistaken.
'-D PHP' is definetly correct, and that is what is displayed at the end of the mod_php emerge.

If you see anything that states '-D PHP4', please inform us about it, so that we can correct it.

The current instructions explictly state:
"Edit /etc/conf.d/apache2 and add '-D PHP'"
"Edit /etc/conf.d/apache and add '-D PHP'"
Depending on which version of apache you are using.
Comment 2 Stephen 2003-06-11 16:09:03 UTC
If you put -D PHP in apache's init file, php does NOT work. if you use -D PHP4 then it does work.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-18 20:06:06 UTC
*** Bug 22985 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-18 20:06:35 UTC
*** Bug 22883 has been marked as a duplicate of this bug. ***
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-30 03:01:16 UTC
Fixed in the new PHP relasing tonight.
I've made sure all of PHP4 is using the 'PHP4' value now, so that it does not conflict with PHP5.