First off: why would you run a function like that? I hope it's just example code...
Second... what server are you running? Shared? Local? Windows? Linux? Most likely it's an issue in the php.ini with the "doc_root" or setup.
Give us some information about your setup, we'll go from there.
~Brett