Hola chicos, estoy lidiando con un hosting de terror. 
Al cual decidi subir unos archivos los que funcionan perfectamente en Win: wamp y Linux. 
Este hosting tiene Windows (segun me dijieron). 
El codigo es el siguiente: 
 Código PHP:
        define('ROOT_DIR',str_replace('\\\\', '/', realpath(dirname(__FILE__))).'/'); #Get real path for root dir ---linux and windows
    define('INCLUDE_DIR',ROOT_DIR.'include/'); //Change this if include is moved outside the web path.
    define('PEAR_DIR',INCLUDE_DIR.'pear/');
    define('SETUP_DIR',INCLUDE_DIR.'setup/'); 
    
  Del problema nos damos cuenta aca: 
 Código PHP:
        $configfile='';
    if(file_exists(ROOT_DIR.'ostconfig.php')) 
        $configfile=ROOT_DIR.'ostconfig.php';
    elseif(file_exists(INCLUDE_DIR.'settings.php')) 
        $configfile=INCLUDE_DIR.'settings.php';
    elseif(file_exists(INCLUDE_DIR.'ost-config.php'))      
   $configfile=INCLUDE_DIR.'ost-config.php';
    elseif(file_exists(ROOT_DIR.'include/'))
        header('Location: '.ROOT_PATH.'setup/');
 
    if(!$configfile || !file_exists($configfile)) die('<b>Error al cargar la configuración. Ponte en contacto con el administrador.</b>'); 
    
  
En el cual me tira el die().
Al die le agrege $configfile, y este me lo muestra en blanco.
cambie los else if a:  
 Código PHP:
        $configfile='';
    if(file_exists(ROOT_DIR.'ostconfig.php')) 
        $configfile=ROOT_DIR.'ostconfig.php';
    elseif(file_exists(INCLUDE_DIR.'settings.php')) 
        $configfile=INCLUDE_DIR.'settings.php';
    elseif(file_exists('include/ost-config.php'))
         $configfile='include/ost-config.php';
    elseif(file_exists(ROOT_DIR.'include/'))
        header('Location: '.ROOT_PATH.'setup/');
 
    if(!$configfile || !file_exists($configfile)) die('<b>Error al cargar la configuración. Ponte en contacto con el administrador.</b>'); 
    
  Y en ese caso $configfile me tira el resultado correcto, pero como todo el sistema de ticket esta echo basado en estos define, se me va a complicar. 
si alguien se da una idea como solucionar este problema, se los agradecer e aqui el 
phpinfo()