This line
require_once($_SERVER['DOCUMENT_ROOT'] . '/api/database/databaseCommon.php');
gives the error
PHP Fatal error: require_once(): Failed opening required '/api/common/RequireCommonStuff.php' (include_path='
I am testing on localhost
, using Xampp and can't find the configuration option in Eclipse to set $_SERVER['DOCUMENT_ROOT']
to localhost
or its path on my harddrive.