php apache2 config

2007-01-23 Thread Matthew Herzog

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 [EMAIL PROTECTED]


Re: php apache2 config

2007-01-23 Thread Tom Samplonius

- Matthew Herzog [EMAIL PROTECTED] 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php apache2 config

2007-01-23 Thread Graham Menhennitt

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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php apache2 config

2007-01-23 Thread Rob Dosogne

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 [EMAIL PROTECTED]



cheers,

--
Rob Dosogne
Systems Administrator
http://www.truthsolo.net/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]