Strange require_once(config.inc.php)
Posted: Wed Feb 04, 2009 2:53 pm
Hello. Right now I am trying to set up a mail server, and I am having a heck of a time with this file. I did not write this, and I am completely baffled by this line of code.
require_once("config.inc.php");
This file does not exist in the directory, and when I check a working version of the program, it does not exist in the directory as well. Where else could require_once be pulling information from? A PHP extension I am not aware of? I am guessing it is related to pear but I really do not understand the libraries.
This is the error code it spits out
Warning: require_once(config.inc.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/******/********/index.php on line 25
Fatal error: require_once() [function.require]: Failed opening required 'config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/******/********/index.php on line 25
require_once("config.inc.php");
This file does not exist in the directory, and when I check a working version of the program, it does not exist in the directory as well. Where else could require_once be pulling information from? A PHP extension I am not aware of? I am guessing it is related to pear but I really do not understand the libraries.
This is the error code it spits out
Warning: require_once(config.inc.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/******/********/index.php on line 25
Fatal error: require_once() [function.require]: Failed opening required 'config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/******/********/index.php on line 25