I'm setting up squirrelmail on a new gentoo box. Apache is 2.x. PHP works with Apache because I'm using it elsewhere fine, though I don't use the header("Location ..."); function call. The squirrelmail index.php displays as text. I assume the header function call isn't inserting the http header into the stream. I've put another php file in the same squirrelmail directory and that php file works fine. I've checked permissions/owner/etc. I assume apache 2 glitch. Reproducible: Always Steps to Reproduce: 1.emerge apache, mod_php, squirrelmail (assuming you already have courier-imap) 2.browse the squirrelmail site 3. Actual Results: if you are duplicating the problem, you'll see the php text unprocessed instead of the login screen Expected Results: processed the php header() request, thereby forcing the redirect
which squirrelmail ?
can't reproduce
vi /etc/conf.d/apache2 add -P PHP4 then stop & start apach2
Closing old bug.