I've installed Xampp 1.8.3 with the installer and I'm trying to move my htdocs folder from C:\xampp\htdocs to C:\Users\Håvard\htdocs. I've done the necessary edits to the httpd.conf file in xampp and Apache is starting, no problem there.
I've been struggling with this problem for a few days now, I even posted a question on it here earlier. Since then I've gotten a little bit further in my quest for a solutiion and I've come to the conclusion that this is a problem regarding the norwegian letter in my Windows-username (and therefore userfolder)
When I try to open my PHP project as localhost/project/index.php i get this message:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/Users/Håvard/htdocs/project/index.php' (include_path='.;C:\xampp\php\pear\') in Unknown on line 0
The reason that I believe the norwegian letter is the reason for this message is that if I change the DocumentRoot and Directory in httpd.conf to anything else besides this folder (ex: C:/Users/Daniel) it works like a charm.
Why am I getting this error message? There is nothing wrong with my index.php as I've tried it with a different documentroot... Why is the "Håvard"-folder the problem? Is it the norwegian letter, or something else I have overlooked?
Håvardif it work's it's not a include problem it has to do with then config file and how this is used! - Rizier123Håvardyou gone warp the string/ name with this function!utf8_decode()(P.S. forget the other idea i test it already) - Rizier123utf8_decodeworks, but that's just for includes I do in my php-files.. But my problem exists "Unknown on line 0"... Where is line 0? I mean, it's not a problem inside my php-files - Håvard Brynjulfsen