is the correct syntax?
<?php set_include_path(get_include_path() . ";" . $_SERVER['DOCUMENT_ROOT']); ?> <?php require "/common/phpbeta/scripts/Cache.inc"; ?>You would do better to tell us exactly what you problem is you are trying to solve, not your attempt at solving it.
the sites’ php files right now have <?php require "/common/phpbeta/scripts/Cache.inc"; ?> and they fail to resolve.
The website cannot display the page
HTTP 500
so I was hoping to use <?php set_include_path(get_include_path() . ";" . $_SERVER['DOCUMENT_ROOT']); ?>
this is for IIS sites and the $_SERVER[‘DOCUMENT_ROOT’] value from phpinfo is populate with the c:\inetpub\sitename