php apache2 config

Graham Menhennitt gmenhennitt at optusnet.com.au
Tue Jan 23 21:11:43 UTC 2007


Matthew Herzog wrote:
> When I load a file named php4.info I can see all my php build 
> information.
>
> If I change that same file's name to phpinfo.php, I get a "premature
> end of script headers"
> error.  The file contains this text only:
>
> <?php
> phpinfo();
> ?>
>
> and is owned by apache.
This is purely a guess since I know nothing about php or apache...

Is phpinfo() causing a recursive call to phpinfo.php by chance?

Graham


More information about the freebsd-stable mailing list