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.
----- Matthew Herzog <matthew.herzog@gmail.com> 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 posting does not seem FreeBSD related, or even contain a question. I guess you want to fix your PHP install. It appears that your configuration is incorrect. Tom
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
Try commenting out the line for 'doc_root' in your php.ini 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. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >cheers, -- Rob Dosogne Systems Administrator http://www.truthsolo.net/