I have PHP4, Apache, and MySQL (all are latest releases as of 02-02-01) installed and seemingly working well with each other with one exception. Using the include and require statements ( <? require ("config/config.inc.php"); ?> ) causes the contents to be printed to the screen and the balance of the script to stop executing.
-->
Later: I left this page open while trying to figure this out and did learn what I did wrong... maybe someone else can benifit... here is what I found...
PHP has a little "Gotcha" with the include statement. If you open the include with a <? and plan to close it later in the primary script it will assume that you intended to close the include and add it on its own. To fix the problem, you just need to close the block within the include file and start a new block after the include. Also, you need to have the open and closing "<?" in the include file if you are using any code (variables, functions, etc.)... PHP doesn't make the assumption without at least an opening "<?".