The information displayed after merging this package (with USE=apache2) contain the instruction to add "-D PHP4" to /etc/conf.d/apache2. This is incorrect; the Apache config installed actually checks for "-D PHP".
I do not agree. I just emerged mod_php-4.3.0-r2, and i needed to add a line like: APACHE2_OPTS="-D PHP" to /etc/conf.d/apache2. And afterwards do a full shutdown of apache (/etc/init.d/apache2 stop; /etc/init.d/apache2 start) to get PHP to work. This was the first install of PHP on a newly installed system from 1.4 rc2.
Exactly - please read my original bug report :-) The instruction tells you to add "-D PHP4". As you found out, you need to add "-D PHP" instead.
I'm sorry, i didn't see that. Now that you point it out, it's a pretty obviuos mistake, and hopefully easily corrected. Also, it could be noted that adding more than one loading script requires you specify -D in front of each, like so: APACHE2_OPTS="-D SSL -D PHP" It's better to mention obvious pitfalls in the instructions instead of making users discover it by trial and error, like i did.
sorry about that... . Committed the change.