
Hmm...
1) Was passiert wenn Du selbst http://localhost/lademich.php aufrufst? Kommt das OK?
2) Änder mal das localhost in test.php in 127.0.0.1 um. Geht's dann?
3) Ruf mal http://localhost/test.php auf. So das es hängt. Und wärend es hängt guck mal ans Ende der Datei /opt/lampp/logs/error_log. Steht da irgendwas aussagekräfiges?
Wir treiben den Fehlerteufel da schon aus...

Grüße,
Oswald