Philip, It is likely the path you are specifying to your file is not what you think it is. Why are you using the $DOCUMENT_ROOT external variable? This is not available to you in PHP 4.2.x unless you explicitly enable it in the php.ini file.
Try $_SERVER['DOCUMENT_ROOT'] instead. -Jim >>> "P. Jourdan" <[EMAIL PROTECTED]> 05/30/02 13:35 PM >>> At 01:05 PM 5/30/2002 -0600, you wrote: >default installation directory is /usr/local/lib > >Read this: >http://www.php.net/manual/en/html/faq.installation.html#faq.installation.phpini Thanks for the help, Jim, but I had already moved the php.ini file all over the place and it does not change anything in any directory. I did read the link but it gives no new info. I had set up a test.php file with phpinfo() and it gives me all the info about the installation... What is strange is that the connection worked fine before and there have been no changes made to any of the files for several weeks. I do not understand - doesn't the include_path = ".:/usr/local/lib/php" mean: look for the file in the current directory first : then in /usr/local/lib/php? My directives on lines 6 & 7 of the index.php file are: include "$DOCUMENT_ROOT/../lib/medfood.conf"; checkuser(array(0,1,2,3,4,5,6)); line 7 does not execute since line 6 returns the warning. Obviously, the medfood.conf file is not being read. So, the php.ini file is not directing php and/or apache to the file. Something does not make sense. From the manual, I understand that the php.ini file is normally automaticaly created in /usr/local/lib. In my case, it was not. Strange. In earlier updates, I did not have this problem. I'm really baffled by this... Philip -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php