Also meine PHP Datei sieht jetzt so aus:
<?php
error_reporting(E_ALL);
ini_set("display_errors", TRUE);
define('XML_DIR', '../xml/');
$file = XML_DIR . "global.xml";
if (file_exists($file)) {
$xml = simplexml_load_file($file);
echo $xml->domain;
}
else
{
exit('Failed to open '.$file);
}
?>
Ausgabe: Failed to open ../xml/global.xml
Also keine weiteren Ausgaben.
der Pfad ist wirklich ../xml/global.xml
Gruß Sebastian