Click to See Complete Forum and Search --> : php with apache server on win2k help!!!!


Anon
04-15-2002, 03:14 AM
i have installed the latest version of apache on my win2k machine and i have also installed the latest php on my machine everthing seems to work (the code is being processed but this error keeps coming up

Warning: Failed opening 'C:\Apache Group\Apache2\htdocs\eps/language/english.inc.php' for inclusion (include_path='c:\php4\pear') in C:\Program Files\Apache Group\Apache2\htdocs\eps\header.php on line 26
i duunno why

C:\Program Files\Apache Group\Apache2\htdocs\eps\ this is where the files are stored

so that is my absalute path correct

here is the confing file setup for this particular php page/website

<?

//Declaring Constants

global $siteaddress;

$sitename="Enterprise Payroll Systems";
$imagedirectory="images"; // no trailing slash
$siteaddress="http://10.0.0.30/eps"; // no trailing slash
$absolutepath="C:/Program Files/Apache Group/Apache2/htdocs/eps"; // no trailing slash
$admindirectory="admin";

// Language
$languagedirectory="language"; // no trailing slash
$language="english.inc.php"; // put name of the language include file


$dbfile="datacon.php"; // no trailing slash..

$headerfile="images/header.php";
$footerfile="images/footer.php";

?>


please help

regards aron palmer

Anon
04-20-2002, 03:20 PM
you need to format windows paths like so:

c:\\dir\\to\\included\\file

with double \s