Hi, I am a newby, so please bear with me (ex ASP programmer
I set up WAMP5 just fine, started a new project "romanord-info" which was already running on an ISP (on linux)
Now all my includes, (in the following case the file to be included is /romanord-info/includes/config.php) for which is invoked on page romanord-info/it/index.php,
<?php
include ($_SERVER['DOCUMENT_ROOT']."/includes/config.php"
;
?>
return these two errors:
Warning: include(C:/wamp/www/includes/config.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\romanord-info\it\index.php on line 2
and
Warning: include() [function.include]: Failed opening 'C:/wamp/www/includes/config.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\romanord-info\it\index.php on line 2
the first warning is telling me the romanord-info folder is being skipped for some reason, the second one tells me php is looking into an include path which i do not recognize.
QUESTIONS:
1. I cannot find this .;C\php5\pear directory as the include_path anywhere in the php.ini file, but it shows up in phpinfo(), what is going on?
2. Since I would like to have different projects in C:\wamp\www and would like to be able for each to use includes which resolve to their own root folder (in this case \romanord-info) what do I set the include_path to?
3. If for semplicity's and speet's sake I give up on having multiple projects in my wamp\www directory, how do I make the include path also recognize the romanord-info folder as part of the DOCUMENT_ROOT?
Thank you in advance!