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.
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.
If you put -D PHP in apache's init file, php does NOT work. if you use -D PHP4 then it does work.
*** Bug 22985 has been marked as a duplicate of this bug. ***
*** Bug 22883 has been marked as a duplicate of this bug. ***
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.